#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 const SharedValueConveyor * | GetSharedValueConveyor (Isolate *isolate) |
|
virtualdefault |
|
virtual |
Get a SharedArrayBuffer given a clone_id previously provided by ValueSerializer::Delegate::GetSharedArrayBufferId
|
virtual |
Get the SharedValueConveyor previously provided by ValueSerializer::Delegate::AdoptSharedValueConveyor.
|
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.