Loading...
Searching...
No Matches
Public Member Functions | List of all members
v8::Context::DeepFreezeDelegate Class Referenceabstract

#include <v8-context.h>

Public Member Functions

virtual bool FreezeEmbedderObjectAndGetChildren (Local< Object > obj, LocalVector< Object > &children_out)=0
 

Detailed Description

Delegate to help with Deep freezing embedder-specific objects (such as JSApiObjects) that can not be frozen natively.

Member Function Documentation

◆ FreezeEmbedderObjectAndGetChildren()

virtual bool v8::Context::DeepFreezeDelegate::FreezeEmbedderObjectAndGetChildren ( Local< Object obj,
LocalVector< Object > &  children_out 
)
pure virtual

Performs embedder-specific operations to freeze the provided embedder object. The provided object will be frozen by DeepFreeze after this function returns, so only embedder-specific objects need to be frozen. This function may not create new JS objects or perform JS allocations. Any v8 objects reachable from the provided embedder object that should also be considered for freezing should be added to the children_out parameter. Returns true if the operation completed successfully.


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