Watcher

object Watcher
Companion:
class
Source:
Watcher.scala
class Object
trait Matchable
class Any
Watcher.type

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
Source:
Watcher.scala
object Event
Companion:
class
Source:
Watcher.scala
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
Source:
Watcher.scala
object EventType
Companion:
class
Source:
Watcher.scala

Value members

Concrete methods

def default[F[_]](implicit F: Async[F]): Resource[F, Watcher[F]]

Creates a watcher for the default file system.

Creates a watcher for the default file system.

Source:
Watcher.scala
def fromFileSystem[F[_]](fs: FileSystem)(implicit F: Async[F]): Resource[F, Watcher[F]]

Creates a watcher for the supplied file system.

Creates a watcher for the supplied file system.

Source:
Watcher.scala
def fromWatchService[F[_]](ws: WatchService)(implicit F: Async[F]): F[Watcher[F]]

Creates a watcher for the supplied NIO WatchService.

Creates a watcher for the supplied NIO WatchService.

Source:
Watcher.scala