WasmScopeAbi class final
Language-neutral host ABI for AngularTS scope handles.
- Inheritance
-
- Object
- AngularTsJsFacade
- WasmScopeAbi
Constructors
- WasmScopeAbi(JSObject raw)
-
Creates a wasm scope ABI wrapper.
const
Properties
- disposed → bool
-
Whether this ABI and all of its bindings have been disposed.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- imports → WasmScopeAbiImportObject
-
Full import object to pass to WebAssembly instantiation.
no setter
- raw → JSObject
-
The raw JavaScript value.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attach(
Object? exports) → void - Attaches guest exports to this ABI.
-
createScope(
Scope< Object?> scope, [WasmScopeOptions options = const WasmScopeOptions()]) → WasmScope - Creates a scope wrapper owned by this ABI registry.
-
dispose(
) → void - Releases every scope, watch, and result buffer owned by this ABI.
-
getScope(
Object reference) → WasmScope? - Returns a scope wrapper by handle or name.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJsValue(
) → JSAny? - Converts the wrapper to a JavaScript interop value.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited