effect-io-ai

Package: effect
Module: FileSystem

FileSystem.WatchEvent

Represents file system events emitted when watching files or directories.

When to use

Use when consuming file system watch streams and pattern matching on _tag to handle created, updated, or removed paths.

Details

The union covers create, update, and remove events. Each event carries the reported path.

See

Signature

type WatchEvent = WatchEvent.Create | WatchEvent.Update | WatchEvent.Remove

Source

Since v4.0.0