onTerminalLossOfConnection property

Function onTerminalLossOfConnection
getter/setter pair

This means, the channel has been terminally disconnected and is not even trying to reconnect

Implementation

Function onTerminalLossOfConnection = () async {
  (await PendingMessageRepository.getInstance())
      .insertWaitingMessages(MessageQueueSupervisor.yieldAll());
};