Packages

object nodeVmMod

Source
nodeVmMod.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. nodeVmMod
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class Script extends vmMod.Script
    Annotations
    @JSType() @JSImport("node:vm", "Script") @native()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ^: Any
    Annotations
    @JSImport("node:vm", JSImport.Namespace) @native()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. def compileFunction(code: java.lang.String, params: Unit, options: CompileFunctionOptions): Function
    Annotations
    @inline()
  8. def compileFunction(code: java.lang.String, params: Array[java.lang.String], options: CompileFunctionOptions): Function
    Annotations
    @inline()
  9. def compileFunction(code: java.lang.String, params: Array[java.lang.String]): Function
    Annotations
    @inline()
  10. def compileFunction(code: java.lang.String): Function
    Annotations
    @inline()
  11. def createContext(sandbox: Unit, options: CreateContextOptions): Context
    Annotations
    @inline()
  12. def createContext(sandbox: Context, options: CreateContextOptions): Context
    Annotations
    @inline()
  13. def createContext(sandbox: Context): Context
    Annotations
    @inline()
  14. def createContext(): Context
    Annotations
    @inline()
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  19. def isContext(sandbox: Context): Boolean
    Annotations
    @inline()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def measureMemory(options: MeasureMemoryOptions): Promise[MemoryMeasurement]
    Annotations
    @inline()
  22. def measureMemory(): Promise[MemoryMeasurement]

    Measure the memory known to V8 and used by the current execution context or a specified context.

    Measure the memory known to V8 and used by the current execution context or a specified context.

    The format of the object that the returned Promise may resolve with is specific to the V8 engine and may change from one version of V8 to the next.

    The returned result is different from the statistics returned by v8.getHeapSpaceStatistics() in that vm.measureMemory() measures the memory reachable by V8 from a specific context, while v8.getHeapSpaceStatistics() measures the memory used by an instance of V8 engine, which can switch among multiple contexts that reference objects in the heap of one engine.

    Annotations
    @inline()
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. def runInContext(code: java.lang.String, contextifiedSandbox: Context, options: java.lang.String): Any
    Annotations
    @inline()
  27. def runInContext(code: java.lang.String, contextifiedSandbox: Context, options: RunningScriptOptions): Any
    Annotations
    @inline()
  28. def runInContext(code: java.lang.String, contextifiedSandbox: Context): Any
    Annotations
    @inline()
  29. def runInNewContext(code: java.lang.String, sandbox: Unit, options: java.lang.String): Any
    Annotations
    @inline()
  30. def runInNewContext(code: java.lang.String, sandbox: Unit, options: RunningScriptOptions): Any
    Annotations
    @inline()
  31. def runInNewContext(code: java.lang.String, sandbox: Context, options: java.lang.String): Any
    Annotations
    @inline()
  32. def runInNewContext(code: java.lang.String, sandbox: Context, options: RunningScriptOptions): Any
    Annotations
    @inline()
  33. def runInNewContext(code: java.lang.String, sandbox: Context): Any
    Annotations
    @inline()
  34. def runInNewContext(code: java.lang.String): Any
    Annotations
    @inline()
  35. def runInThisContext(code: java.lang.String, options: java.lang.String): Any
    Annotations
    @inline()
  36. def runInThisContext(code: java.lang.String, options: RunningScriptOptions): Any
    Annotations
    @inline()
  37. def runInThisContext(code: java.lang.String): Any
    Annotations
    @inline()
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped