debugTryConnectFromFile method

  1. @visibleForTesting
Future<void> debugTryConnectFromFile()

Exercises the same path a FileSystemEvent triggers. Exposed only so tests can fire off several overlapping attempts without needing the platform to actually deliver duplicate filesystem events for one write (it does, in practice, which is what this guards against).

Implementation

@visibleForTesting
Future<void> debugTryConnectFromFile() => _tryConnectFromFile();