createSerializable
Recursively converts JavaScript values into Serializable references that can be passed to different JavaScript Runtimes.
createShareable
# createShareable
createSynchronizable
# createSynchronizable
isSerializableRef
Asserts whether a value is a Serializable reference.
isSynchronizable
# isSynchronizable
registerCustomSerializable
# registerCustomSerializable
Serializable
Serializable is a type of shared memory that holds an immutable value that can be serialized and deserialized across different JavaScript Runtimes. It allows passing JavaScript values between Runtimes while ensuring that the data is correctly transferred and reconstructed. The reference cannot be manipulated, as it doesn't represent any standard JavaScript object.
Shareable
# Shareable
Synchronizable
# Synchronizable
makeShareable
makeShareable lets you create a Shareable object from a given value on the UI thread.
makeShareableCloneOnUIRecursive
makeShareableCloneOnUIRecursive recursively converts JavaScript values into shareable references that can be used on different Runtimes than UI Runtime.
makeShareableCloneRecursive
makeShareableCloneRecursive recursively converts JavaScript values into shareable references that can be used on different Runtimes than RN Runtime.