Packages

c

io.scalajs.npm.watch.Monitor

MonitorExtensions

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)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. val monitor: Monitor
  8. def onChanged(callback: (String, Stats, Stats) ⇒ Any): Monitor

    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

    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

    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
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped