Watcher

fs2.io.file.Watcher
See theWatcher companion class
object Watcher

Attributes

Companion
class
Source
Watcher.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Watcher.type

Members list

Type members

Classlikes

sealed abstract class Event

Event raised by Watcher.

Event raised by Watcher. Supports standard events as well as arbitrary non-standard events (via NonStandard).

Attributes

Companion
object
Source
Watcher.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Created
class Deleted
class Modified
class NonStandard
class Overflow
object Event

Attributes

Companion
class
Source
Watcher.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Event.type
sealed abstract class EventType

Type of event raised by Watcher.

Type of event raised by Watcher. Supports the standard events types as well as arbitrary non-standard types (via NonStandard).

Attributes

Companion
object
Source
Watcher.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Created.type
object Deleted.type
object Modified.type
class NonStandard
object Overflow.type
object EventType

Attributes

Companion
class
Source
Watcher.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
EventType.type

Value members

Concrete methods

def default[F[_] : Files](implicit evidence$1: Files[F], F: Async[F]): Resource[F, Watcher[F]]

Creates a watcher for the default file system.

Creates a watcher for the default file system.

Attributes

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

Creates a watcher for the supplied file system.

Creates a watcher for the supplied file system.

Attributes

Source
Watcher.scala
def fromWatchService[F[_] : Files](ws: WatchService)(implicit evidence$3: Files[F], F: Async[F]): F[Watcher[F]]

Creates a watcher for the supplied NIO WatchService.

Creates a watcher for the supplied NIO WatchService.

Attributes

Source
Watcher.scala

Deprecated methods

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

Attributes

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

Attributes

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

Attributes

Deprecated
true
Source
Watcher.scala