#include <v8-weak-callback-info.h>
◆ Callback
◆ WeakCallbackInfo()
◆ GetInternalField()
◆ GetIsolate()
◆ GetParameter()
◆ SetSecondPassCallback()
When a weak callback is first invoked the embedders must Reset() the handle which triggered the callback. The handle itself is unusable for anything else. No other V8 API calls may be called in the first callback. Additional work requires scheduling a second invocation via SetSecondPassCallback()
which will be called some time after all the initial callbacks are processed.
The second pass callback is prohibited from executing JavaScript. Embedders should schedule another callback in case this is required.
The documentation for this class was generated from the following file: