import { createPromiseWithResolvers } from "https://deno.land/x/oak@v13.2.5/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://deno.land/x/oak@v13.2.5/util.ts";
Offloads to the native Promise.withResolvers
when available.
Currently Node.js does not support it, while Deno does.