Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.352.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>