Module expectation

Source

Functionsยง

host_state
Returns a Future that resolves when the HostInfo matches target.
no_peer
Returns a Future that resolves when a peer matching id is not present on the host.
peer
Returns a Future that resolves when the state of any RemoteDevice matches target.