v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
ValueDeserializer::Delegate Class Reference

#include <v8-value-serializer.h>

Public Member Functions

virtual ~Delegate ()=default
 
virtual MaybeLocal< ObjectReadHostObject (Isolate *isolate)
 
virtual MaybeLocal< WasmModuleObjectGetWasmModuleFromId (Isolate *isolate, uint32_t transfer_id)
 
virtual MaybeLocal< SharedArrayBufferGetSharedArrayBufferFromId (Isolate *isolate, uint32_t clone_id)
 
virtual const SharedValueConveyorGetSharedValueConveyor (Isolate *isolate)
 

Detailed Description

Definition at line 217 of file v8-value-serializer.h.

Constructor & Destructor Documentation

◆ ~Delegate()

virtual ~Delegate ( )
virtualdefault

Member Function Documentation

◆ GetSharedArrayBufferFromId()

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

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

◆ GetSharedValueConveyor()

virtual const SharedValueConveyor * GetSharedValueConveyor ( Isolate isolate)
virtual

◆ GetWasmModuleFromId()

virtual MaybeLocal< WasmModuleObject > GetWasmModuleFromId ( Isolate isolate,
uint32_t  transfer_id 
)
virtual

Get a WasmModuleObject given a transfer_id previously provided by ValueSerializer::Delegate::GetWasmModuleTransferId

◆ ReadHostObject()

virtual MaybeLocal< Object > 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.


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