v8  6.7.288(node10.6.0)
V8 is Google's open source JavaScript engine
ValueDeserializer::Delegate Class Reference

#include <v8.h>

Public Member Functions

virtual ~Delegate ()
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 2002 of file v8.h.

Constructor & Destructor Documentation

virtual ~Delegate ( )

Definition at line 2004 of file v8.h.

Member Function Documentation

virtual MaybeLocal<SharedArrayBuffer> GetSharedArrayBufferFromId ( Isolate isolate,
uint32_t  clone_id 

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

virtual MaybeLocal<WasmCompiledModule> GetWasmModuleFromId ( Isolate isolate,
uint32_t  transfer_id 

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

virtual MaybeLocal<Object> ReadHostObject ( Isolate isolate)

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.

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