QuickJsRuntime class

QuickJS Runtime 封装 每个 Runtime 对应一个 JS 引擎实例,拥有独立的内存堆

Constructors

QuickJsRuntime(QuickJsFFI _ffi)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createContext() QuickJsContext
创建一个相互隔离的上下文
dispose() → void
executePendingJobs() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited