Skip to main content

Module v8_runtime

Module v8_runtime 

Source
Expand description

V8 isolate runtime manager backed by the embedded V8 runtime.

Structs§

SharedV8Runtime
Thread-safe wrapper for V8Runtime that allows sending from multiple threads.
V8Runtime
Manages an embedded V8 runtime and its IPC connection.

Functions§

base64_decode_pub
base64_encode_pub
Public base64 encode for use in bridge call handlers.
cbor_payload_raw_byte_arg
cbor_payload_to_json_args
Deserialize a CBOR payload into a JSON array of arguments. The V8 bridge serializes bridge call args as a CBOR array.
json_to_cbor_payload
Serialize a JSON value to CBOR bytes for bridge responses.
map_bridge_method
Bridge call method name mapping from V8 polyfill names to sidecar sync RPC names. The V8 polyfills use underscore-prefixed camelCase names while the sidecar uses dot-separated category.method names. The mapping lives in bridge-contract.json so bridge installation and dispatch drift together.