pub async fn wait_for_address_added_event(
event_stream: &mut AddressStateProviderEventStream,
) -> Result<(), AddressStateProviderError>
Expand description
Waits for the OnAddressAdded
event to be received on the event stream.
Returns an error if an address removed event is received instead.