WasmScopeAbiImports class final

Imports exposed to a language-neutral Wasm client.

Inheritance

Constructors

WasmScopeAbiImports(JSObject raw)
Creates a wasm scope ABI imports wrapper.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
raw → JSObject
The raw JavaScript value.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

bufferFree(num bufferHandle) → void
Releases a host-owned result buffer and guest-memory allocation.
bufferLen(num bufferHandle) → num
Returns the byte length for a host-owned result buffer.
bufferPtr(num bufferHandle) → num
Returns the guest pointer for a host-owned result buffer.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scopeDelete(num scopeHandle, num pathPtr, num pathLen) → num
Deletes a scope path.
scopeGet(num scopeHandle, num pathPtr, num pathLen) → num
Returns a result buffer handle containing JSON for a scope path.
scopeResolve(num namePtr, num nameLen) → num
Resolves a scope name to a numeric scope handle.
scopeSet(num scopeHandle, num pathPtr, num pathLen, num valuePtr, num valueLen) → num
Writes a JSON payload into a scope path.
scopeSync(num scopeHandle) → num
Runs queued Wasm scope bridge callbacks.
scopeUnbind(num scopeHandle) → num
Unbinds a scope handle without destroying the AngularTS scope.
scopeUnwatch(num watchHandle) → num
Removes a watch handle.
scopeWatch(num scopeHandle, num pathPtr, num pathLen) → num
Watches a scope path and returns a watch handle.
toString() → String
A string representation of this object.
inherited

Operators

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