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

Usage in Deno

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

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

Type

CreateContextOptions["microtaskMode"]
Back to top