ScWasmIsolateBridge class

Runs SC WASM work outside the caller's isolate.

Each request is serialized and runs in a short-lived isolate. The isolate exits after the request completes, so callers do not need to know about a worker port or call dispose merely to let a Dart process exit. This keeps WASM parsing and instantiation off the Flutter UI isolate while preserving the old no-cleanup lifecycle.

Inheritance

Constructors

ScWasmIsolateBridge(Uint8List wasmBytes)

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

dispose() → void
Releases the caller-side WASM bytes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processJson(String jsonString) Future<String>
Implementation-specific: take the unsigned transaction JSON, compute the signing digests, and return the result transaction JSON string.
override
processUnsignedTransaction(ScUnsignedTransaction unsignedTx) Future<ScWasmResult>
inherited
toString() String
A string representation of this object.
inherited

Operators

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