Home
last modified time | relevance | path

Searched refs:CallbackScope (Results 1 – 9 of 9) sorted by relevance

/third_party/node/src/api/
Dcallback.cc20 CallbackScope::CallbackScope(Isolate* isolate, in CallbackScope() function in node::CallbackScope
23 : CallbackScope(Environment::GetCurrent(isolate), object, async_context) {} in CallbackScope()
25 CallbackScope::CallbackScope(Environment* env, in CallbackScope() function in node::CallbackScope
35 CallbackScope::~CallbackScope() { in ~CallbackScope()
Dasync_resource.cc65 AsyncResource::CallbackScope::CallbackScope(AsyncResource* res) in CallbackScope() function in node::AsyncResource::CallbackScope
66 : node::CallbackScope(res->env_, in CallbackScope()
/third_party/node/src/
Dnode.h991 class NODE_EXTERN CallbackScope {
993 CallbackScope(v8::Isolate* isolate,
996 CallbackScope(Environment* env,
999 ~CallbackScope();
1001 void operator=(const CallbackScope&) = delete;
1002 void operator=(CallbackScope&&) = delete;
1003 CallbackScope(const CallbackScope&) = delete;
1004 CallbackScope(CallbackScope&&) = delete;
1078 class NODE_EXTERN CallbackScope : public node::CallbackScope {
1080 explicit CallbackScope(AsyncResource* res);
Dnode_api.cc327 CallbackScope cb_scope(this); in DispatchOne()
345 CallbackScope cb_scope(this); in Finalize()
503 reinterpret_cast<napi_callback_scope>(new CallbackScope(this)); in OpenCallbackScope()
527 CallbackScope* callback_scope = reinterpret_cast<CallbackScope*>(s); in CloseCallbackScope()
539 class CallbackScope : public node::CallbackScope { class in v8impl::__anonb7e957610311::AsyncContext
541 explicit CallbackScope(AsyncContext* async_context) in CallbackScope() function in v8impl::__anonb7e957610311::AsyncContext::CallbackScope
542 : node::CallbackScope(async_context->node_env(), in CallbackScope()
1085 CallbackScope callback_scope(this); in AfterThreadPoolWork()
DREADME.md907 The public `CallbackScope` and the internally used `InternalCallbackScope`
/third_party/node/test/addons/callback-scope/
Dbinding.cc25 node::CallbackScope scope(isolate, args[0].As<v8::Object>(), asyncContext); in RunInCallbackScope()
38 node::CallbackScope callback_scope(isolate, v8::Object::New(isolate), in Callback()
/third_party/node/doc/api/
Ddeprecations.md1842 `CallbackScope`, or the high-level `AsyncResource` class.
/third_party/node/doc/changelogs/
DCHANGELOG_V14.md406 …e01b18)] - **(SEMVER-MINOR)** **src**: add a constructor overload for CallbackScope (Darshan Sen) …
468 …e01b18)] - **(SEMVER-MINOR)** **src**: add a constructor overload for CallbackScope (Darshan Sen) …
DCHANGELOG_V10.md2856 …/github.com/nodejs/node/commit/cb698111c4)] - **src**: add comment on CallbackScope exception beha…
3555 * [[`36d4a42e35`](https://github.com/nodejs/node/commit/36d4a42e35)] - **src**: move CallbackScope