Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/node_modules/denoify/src/tools/replaceAsync.ts>replaceAsync

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
function replaceAsync
import { replaceAsync } from "https://deno.land/x/windmill@v1.318.0/node_modules/denoify/src/tools/replaceAsync.ts";

Equivalent of String.prototype.replace but with async replacer is async

Parameters

str: string
regex: RegExp
replacerAsync: (str: string, ...args: any[]) => Promise<string>