Class

io.scalajs.nodejs.repl

REPLServerEvents

Related Doc: package repl

Permalink

implicit final class REPLServerEvents extends AnyVal

REPL Server events

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

Instance Constructors

  1. new REPLServerEvents(server: REPLServer)

    Permalink

    server

    the given instance

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 contextAs[T]: T

    Permalink
    Annotations
    @inline()
  6. def getClass(): Class[_ <: AnyVal]

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

    Permalink
    Definition Classes
    Any
  8. def onExit(listener: () ⇒ Any): server.type

    Permalink

    The 'exit' event is emitted when the REPL is exited either by receiving the .exit command as input, the user pressing CTRL-C twice to signal SIGINT, or by pressing CTRL-D to signal 'end' on the input stream.

    The 'exit' event is emitted when the REPL is exited either by receiving the .exit command as input, the user pressing CTRL-C twice to signal SIGINT, or by pressing CTRL-D to signal 'end' on the input stream. The listener callback is invoked without any arguments.

    listener

    The listener callback

    Annotations
    @inline()
  9. def onReset(listener: (REPLContext) ⇒ Any): server.type

    Permalink

    The 'reset' event is emitted when the REPL's context is reset.

    The 'reset' event is emitted when the REPL's context is reset. This occurs whenever the .clear command is received as input unless the REPL is using the default evaluator and the repl.REPLServer instance was created with the useGlobal option set to true. The listener callback will be called with a reference to the context object as the only argument.

    listener

    The listener callback

    Annotations
    @inline()
  10. val server: REPLServer

    Permalink

    the given instance

  11. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped