import { createPromiseWithResolvers } from "https://deno.land/x/acorn@0.7.1/util.ts";
Offloads to the native Promise.withResolvers
when available.
Currently Node.js does not support it, while Deno and Bun do.
import { createPromiseWithResolvers } from "https://deno.land/x/acorn@0.7.1/util.ts";
Offloads to the native Promise.withResolvers
when available.
Currently Node.js does not support it, while Deno and Bun do.