getAckFuture method

Future<void> getAckFuture()

Implementation

Future<void> getAckFuture() {
  return _client.waitForAck ? _client.ackStream.firstWhere((e) => equals(e.toList(), [0x23, 0x01, 0x00])).timeout(_client.ackTimeout) : Future.value();
}