File notification API #12391
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-duplicate
Closed in favor of an existing report
library-io
type-enhancement
A request for a change that isn't a bug
I started an email thread about this, but it seems like a bug is a better way to track this.
I'd like to have an API in dart:io for receiving notifications about file system changes. In other words, a Dart-level API that corresponds to (and probably uses) inotify and FSEvents.
I created a file watching package (pkg/watcher in the repo) that exposes the API I want to consume. Currently, it's implemented using polling. Ideally, you'd be able to rewrite the internal implementation using this API without having to change its public interface at all.
The text was updated successfully, but these errors were encountered: