Skip to main content
CreateContextOptions.microtaskMode - vm - Node documentation
property CreateContextOptions.microtaskMode

Usage in Deno

import { type CreateContextOptions } from "node:vm";

If set to afterEvaluate, microtasks will be run immediately after the script has run.

Type

"afterEvaluate" | undefined