Class

io.scalajs.npm.watch.Monitor

MonitorExtensions

Related Doc: package Monitor

Permalink

implicit final class MonitorExtensions extends AnyVal

Monitor Extensions

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MonitorExtensions
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MonitorExtensions(monitor: Monitor)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  7. val monitor: Monitor

    Permalink
  8. def onChanged(callback: (String, Stats, Stats) ⇒ Any): monitor.type

    Permalink

    A file has been changed.

    A file has been changed. Three arguments, the filename, the current stat object, and the previous stat object.

    Example:
    1. monitor.on("changed", function (f, curr, prev) { ... })

  9. def onCreated(callback: (String, Stats) ⇒ Any): monitor.type

    Permalink

    New file has been created.

    New file has been created. Two arguments, the filename and the stat object.

    Example:
    1. monitor.on("created", function (f, stat) { ... })

  10. def onRemoved(callback: (String, Stats) ⇒ Any): monitor.type

    Permalink

    A file has been moved or deleted.

    A file has been moved or deleted. Two arguments, the filename and the stat object for the fd.

    Example:
    1. monitor.on("removed", function (f, stat) { ... })

  11. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped