chore: enable microtask queue per window agent (#36870)
* chore: enable microtask queue per window agent * chore: switch policies on context microtask queue * fix: ensure node::Environment is valid
This commit is contained in:
parent
2a7d0a84c0
commit
fefb22a83d
19 changed files with 115 additions and 54 deletions
|
@ -16,6 +16,7 @@ namespace gin_helper {
|
|||
class MicrotasksScope {
|
||||
public:
|
||||
explicit MicrotasksScope(v8::Isolate* isolate,
|
||||
v8::MicrotaskQueue* microtask_queue,
|
||||
bool ignore_browser_checkpoint = false,
|
||||
v8::MicrotasksScope::Type scope_type =
|
||||
v8::MicrotasksScope::kRunMicrotasks);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue