#include <v8-fast-api-calls.h>
Static Public Member Functions | |
static FastApiCallbackOptions | CreateForTesting (Isolate *isolate) |
Public Attributes | |
v8::Isolate * | isolate = nullptr |
v8::Local< v8::Value > | data |
A struct which may be passed to a fast call callback, like so:
|
inlinestatic |
Creates a new instance of FastApiCallbackOptions for testing purpose. The returned instance may be filled with mock data.
The data
passed to the FunctionTemplate constructor, or undefined
.
v8::Isolate* v8::FastApiCallbackOptions::isolate = nullptr |