idle property

bool get idle

Whether the socket is idle (no active streams).

Implementation

bool get idle => _registeredStreams.isEmpty;