Abstract Interface: MainThreadObjectHandle<I, O extends object>
An opaque source-runtime handle for an object realized on the main thread.
A handle has logical identity and is serializable, but it is not the target object or an RPC stub. Capturing it in a main-thread function resolves it to the corresponding local target object. Development builds may wrap the background handle in a throwing guard solely to diagnose invalid access; that guard never forwards operations between runtimes.
Type Parameters
Accessors
creationPayload
Get Signature
get creationPayload():
Readonly<I>
The payload used to create the realized object.
Readonly is a TypeScript contract; the value is not frozen at runtime.
Returns
Readonly<I>