implicit final class REPLServerExtensions[T <: REPLServer] extends AnyVal
REPL Server Extensions
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- REPLServerExtensions
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new REPLServerExtensions(server: T)
- server
the given REPL Server
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def onExit(callback: Function): server.type
Emitted when the user exits the REPL in any of the defined ways.
Emitted when the user exits the REPL in any of the defined ways. Namely, typing .exit at the repl, pressing Ctrl+C twice to signal SIGINT, or pressing Ctrl+D to signal 'end' on the input stream.
- Annotations
- @inline()
- def onReset(callback: Function): server.type
Emitted when the REPL's context is reset.
Emitted when the REPL's context is reset. This happens when you type .clear. If you start the repl with { useGlobal: true } then this event will never be emitted.
- Annotations
- @inline()
- val server: T
- def toString(): String
- Definition Classes
- Any