object Watcher
- Companion
- class
class Object
trait Matchable
class Any
Type members
Classlikes
sealed abstract class Event
Event raised by Watcher
. Supports standard events as well as arbitrary non-standard events (via NonStandard
).
Event raised by Watcher
. Supports standard events as well as arbitrary non-standard events (via NonStandard
).
- Companion
- object
sealed abstract class EventType
Type of event raised by Watcher
. Supports the standard events types as well as arbitrary non-standard types (via NonStandard
).
Type of event raised by Watcher
. Supports the standard events types as well as arbitrary non-standard types (via NonStandard
).
- Companion
- object
Value members
Concrete methods
def fromFileSystem[F[_]](blocker: Blocker, fs: FileSystem)(F: Concurrent[F], cs: ContextShift[F]): Resource[F, Watcher[F]]
Creates a watcher for the supplied file system.
Creates a watcher for the supplied file system.
def fromWatchService[F[_]](blocker: Blocker, ws: WatchService)(F: Concurrent[F], cs: ContextShift[F]): F[Watcher[F]]
Creates a watcher for the supplied NIO WatchService
.
Creates a watcher for the supplied NIO WatchService
.