cancelPendingSend method

void cancelPendingSend(
  1. String threadPath
)

Implementation

void cancelPendingSend(String threadPath) {
  final waits = _pendingSendWaits.values.where((wait) => wait.threadPath == threadPath).toList();
  for (final wait in waits) {
    wait.cancel();
  }
}