cancelNext method

Future<void> cancelNext()

Implementation

Future<void> cancelNext() async {
  await _next?.dispose();
  _next = null;
}