V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::ValueDeserializer::Delegate Class Reference
Inheritance diagram for v8::ValueDeserializer::Delegate:
v8::Deserializer

Public Member Functions

virtual MaybeLocal< ObjectReadHostObject (Isolate *isolate)
 
virtual MaybeLocal< WasmCompiledModuleGetWasmModuleFromId (Isolate *isolate, uint32_t transfer_id)
 
virtual MaybeLocal< SharedArrayBufferGetSharedArrayBufferFromId (Isolate *isolate, uint32_t clone_id)
 

Detailed Description

Definition at line 2016 of file v8.h.

Member Function Documentation

◆ GetSharedArrayBufferFromId()

MaybeLocal< SharedArrayBuffer > v8::ValueDeserializer::Delegate::GetSharedArrayBufferFromId ( Isolate *  isolate,
uint32_t  clone_id 
)
virtual

Get a SharedArrayBuffer given a clone_id previously provided by ValueSerializer::GetSharedArrayBufferId

Reimplemented in v8::Deserializer.

Definition at line 3163 of file api.cc.

◆ GetWasmModuleFromId()

MaybeLocal< WasmCompiledModule > v8::ValueDeserializer::Delegate::GetWasmModuleFromId ( Isolate *  isolate,
uint32_t  transfer_id 
)
virtual

Get a WasmCompiledModule given a transfer_id previously provided by ValueSerializer::GetWasmModuleTransferId

Reimplemented in v8::Deserializer.

Definition at line 3153 of file api.cc.

◆ ReadHostObject()

MaybeLocal< Object > v8::ValueDeserializer::Delegate::ReadHostObject ( Isolate *  isolate)
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.

Definition at line 3144 of file api.cc.


The documentation for this class was generated from the following files: