Watcher

object Watcher
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

sealed abstract class EventType
Type of event raised by Watcher. Supports the standard events types as well as arbitrary non-standard types (via NonStandard).
Companion
object
object EventType
Companion
class
sealed abstract class Event
Event raised by Watcher. Supports standard events as well as arbitrary non-standard events (via NonStandard).
Companion
object
object Event
Companion
class

Value members

Methods

def default[F <: ([_$2] =>> Any)](blocker: Blocker)(F: Concurrent[F], cs: ContextShift[F]): Resource[F, Watcher[F]]
Creates a watcher for the default file system.
def fromFileSystem[F <: ([_$4] =>> Any)](blocker: Blocker, fs: FileSystem)(F: Concurrent[F], cs: ContextShift[F]): Resource[F, Watcher[F]]
Creates a watcher for the supplied file system.
def fromWatchService[F <: ([_$6] =>> Any)](blocker: Blocker, ws: WatchService)(F: Concurrent[F], cs: ContextShift[F]): F[Watcher[F]]
Creates a watcher for the supplied NIO WatchService.