react-native-nitro-modules
Version:
Insanely fast native C++, Swift or Kotlin modules with a statically compiled binding layer to JSI.
13 lines • 455 B
TypeScript
import type { HybridObject } from './HybridObject';
/**
* Represents a boxed {@linkcode HybridObject} that can later be unboxed again.
* This is implemented as a `jsi::HostObject`.
*/
export interface BoxedHybridObject<T extends HybridObject> {
/**
* Unboxes the {@linkcode HybridObject}.
* This can be called from a different Runtime than the one it was boxed in.
*/
unbox(): T;
}
//# sourceMappingURL=BoxedHybridObject.d.ts.map