WasmScope class final
AngularTS scope wrapper for direct Wasm client access.
- Inheritance
-
- Object
- AngularTsJsFacade
- WasmScope
Properties
- disposed → bool
-
Whether this wrapper has been disposed.
no setter
- handle → num
-
Host-side numeric scope handle.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Stable scope name.
no setter
- raw → JSObject
-
The raw JavaScript value.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bind(
[WasmScopeBindingOptions options = const WasmScopeBindingOptions()]) → Object? - Binds this scope to its ABI's guest callbacks and watched paths.
-
delete(
String path) → bool - Deletes a scope path.
-
dispose(
) → void - Disposes this wrapper.
-
getMember(
String path) → Object? - Reads a value from a scope path.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onSync(
JSFunction< Function> callback) → Object? - Registers a callback for sync flushes.
-
setMember(
String path, Object? value) → bool - Writes a value to a scope path.
-
sync(
) → void - Flushes queued callbacks.
-
toJsValue(
) → JSAny? - Converts the wrapper to a JavaScript interop value.
-
toString(
) → String -
A string representation of this object.
inherited
-
watch(
String path, void callback(WasmScopeUpdate update), [WasmScopeWatchOptions options = const WasmScopeWatchOptions()]) → Object? - Watches a scope path.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited