pub async fn wait_for_first_session_change(
blocks_sub: &mut StreamOfResults<Block<PolkadotConfig, OnlineClient<PolkadotConfig>>>,
) -> Result<(), Error>
Expand description
Wait for the first block with a session change.
The session change is detected by inspecting the events in the block.