disconnectOnEmptyChannelsAfter property

Duration? disconnectOnEmptyChannelsAfter
final

The delay before the socket is disconnected once the last channel is removed.

If a new channel is created before the delay elapses, the pending disconnect is cancelled and the open socket is reused. Pass Duration.zero to disconnect immediately. Defaults to twice the heartbeat interval.

Implementation

final Duration? disconnectOnEmptyChannelsAfter;