Watcher

fs2.io.Watcher
See theWatcher companion class
object Watcher

Attributes

Companion
class
Source
DeprecatedWatcher.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
DeprecatedWatcher.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
DeprecatedWatcher.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
DeprecatedWatcher.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
DeprecatedWatcher.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
EventType.type

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.

Attributes

Source
DeprecatedWatcher.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.

Attributes

Source
DeprecatedWatcher.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.

Attributes

Source
DeprecatedWatcher.scala