disconnecting property

Future<void>? disconnecting

If a disconnect attempt is currently in progress, returns its Future.

When the disconnection is complete, Future is completed.

現在切断試行中の場合、そのFutureを返します。

切断が完了するとFutureが完了します。

Implementation

Future<void>? get disconnecting => _disconnectingCompleter?.future;