delayWatcherInitialization property
An artificial delay that's waited when initializing watchers.
This allows mirroring how the real fs watcher works, where events may be
lost between creating the watcher and its ready
event firing.
Like the real file watcher, the ready
event also requires a listener
to be attached before it will fire.
Implementation
@visibleForTesting
final Duration? delayWatcherInitialization;