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.
CreateContextOptions["microtaskMode"]