import { createPromiseWithResolvers } from "https://dotland.deno.dev/x/oak@14.2.0/util.ts";
Offloads to the native Promise.withResolvers
when available.
Currently Node.js does not support it, while Deno does.
x/oak/util.ts>createPromiseWithResolvers
import { createPromiseWithResolvers } from "https://dotland.deno.dev/x/oak@14.2.0/util.ts";
Offloads to the native Promise.withResolvers
when available.
Currently Node.js does not support it, while Deno does.