isDisabled property

bool isDisabled

true when the WebSocketLink can't send any more messages. This happends after calling dispose or when autoReconnect is false and the web socket disconnected.

Implementation

bool get isDisabled => _disposedCompleter != null;