v8
10.2.154 (node 18.16.0)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
v8-microtask.h
Go to the documentation of this file.
1
// Copyright 2021 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef INCLUDE_V8_MICROTASK_H_
6
#define INCLUDE_V8_MICROTASK_H_
7
8
namespace
v8
{
9
10
class
Isolate;
11
12
// --- Microtasks Callbacks ---
13
using
MicrotasksCompletedCallbackWithData
= void (*)(
Isolate
*,
void
*);
14
using
MicrotaskCallback
= void (*)(
void
* data);
15
24
enum class
MicrotasksPolicy
{
kExplicit
,
kScoped
,
kAuto
};
25
26
}
// namespace v8
27
28
#endif
// INCLUDE_V8_MICROTASK_H_
v8::Isolate
Definition
v8-isolate.h:205
v8
Definition
libplatform.h:15
v8::MicrotasksCompletedCallbackWithData
void(*)(Isolate *, void *) MicrotasksCompletedCallbackWithData
Definition
v8-microtask.h:13
v8::MicrotaskCallback
void(*)(void *data) MicrotaskCallback
Definition
v8-microtask.h:14
v8::MicrotasksPolicy
MicrotasksPolicy
Definition
v8-microtask.h:24
v8::MicrotasksPolicy::kScoped
@ kScoped
v8::MicrotasksPolicy::kAuto
@ kAuto
v8::MicrotasksPolicy::kExplicit
@ kExplicit
include
v8-microtask.h
Generated on Sat Jun 10 2023 16:59:17 for v8 by
1.9.7