v8 10.2.154 (node 18.16.0)
V8 is Google's open source JavaScript engine
|
#include <v8-value-serializer.h>
Public Member Functions | |
virtual | ~Delegate ()=default |
virtual MaybeLocal< Object > | ReadHostObject (Isolate *isolate) |
virtual MaybeLocal< WasmModuleObject > | GetWasmModuleFromId (Isolate *isolate, uint32_t transfer_id) |
virtual MaybeLocal< SharedArrayBuffer > | GetSharedArrayBufferFromId (Isolate *isolate, uint32_t clone_id) |
virtual bool | SupportsSharedValues () const |
virtual MaybeLocal< Value > | GetSharedValueFromId (Isolate *isolate, uint32_t shared_value_id) |
Definition at line 173 of file v8-value-serializer.h.
|
virtualdefault |
|
virtual |
Get a SharedArrayBuffer given a clone_id previously provided by ValueSerializer::Delegate::GetSharedArrayBufferId
|
virtual |
Get a value shared across Isolates given a shared_value_id provided by ValueSerializer::Delegate::GetSharedValueId.
|
virtual |
Get a WasmModuleObject given a transfer_id previously provided by ValueSerializer::Delegate::GetWasmModuleTransferId
|
virtual |
The embedder overrides this method to read some kind of host object, if possible. If not, a suitable exception should be thrown and MaybeLocal<Object>() returned.
|
virtual |
Returns whether shared values are supported. GetSharedValueFromId is only called if SupportsSharedValues() returns true.