fail method
Simulates a network failure: both sides see error and the
connection closes.
Implementation
void fail(Object error) => _closer.close(error);
Simulates a network failure: both sides see error and the
connection closes.
void fail(Object error) => _closer.close(error);