v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
SharedValueConveyor Class Referencefinal

#include <v8-value-serializer.h>

Public Member Functions

 SharedValueConveyor (SharedValueConveyor &&) noexcept
 
 ~SharedValueConveyor ()
 
SharedValueConveyoroperator= (SharedValueConveyor &&) noexcept
 

Friends

class internal::ValueSerializer
 
class internal::ValueDeserializer
 

Detailed Description

A move-only class for managing the lifetime of shared value conveyors used by V8 to keep JS shared values alive in transit when serialized.

This class is not directly constructible and is always passed to a ValueSerializer::Delegate via ValueSerializer::SetSharedValueConveyor.

The embedder must not destruct the SharedValueConveyor until the associated serialized data will no longer be deserialized.

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

Constructor & Destructor Documentation

◆ SharedValueConveyor()

◆ ~SharedValueConveyor()

Member Function Documentation

◆ operator=()

SharedValueConveyor & operator= ( SharedValueConveyor &&  )
noexcept

Friends And Related Symbol Documentation

◆ internal::ValueDeserializer

friend class internal::ValueDeserializer
friend

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

◆ internal::ValueSerializer

friend class internal::ValueSerializer
friend

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


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