Home > @lynx-js/react > MainThreadObjectHandle
MainThreadObjectHandle class
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.
Signature:

