longPollConfirmations function

Stream<int> longPollConfirmations (
  1. Future<int> txHeight(
      ),
    1. Future<int> currentHeight(
        ),
      1. {Duration interval: const Duration(seconds: 60)}
      )

      Implementation

      Stream<int> longPollConfirmations(
        Future<int> Function() txHeight,
        Future<int> Function() currentHeight, {
        Duration interval = const Duration(seconds: 60),
      }) {
        return _longPoll(
          txHeight,
          currentHeight,
          interval,
        ).distinct();
      }