ready property
Future<void>
get
ready
Completes once the peer's preface has arrived and matched.
Fails with an RpcStatusException when it never will: FAILED_PRECONDITION
for another protocol version, UNKNOWN for a peer that is not an rpc_dart
channel, UNAVAILABLE when the channel ended first or the wait outlasted
prefaceTimeout. A client knows from it that an rpc_dart server
answered; a server, that the peer is a client worth an endpoint.
Implementation
Future<void> get ready => _ready.future;