External module "utils/async-replace"
Type aliases
AsyncFn
AsyncFn: function
Type declaration
-
- (match: string, ...groups: string[]): Promise<string>
-
Parameters
-
match: string
-
Rest ...groups: string[]
Returns Promise<string>
Functions
replace
- replace(str: string, regex: RegExp, asyncFn: AsyncFn, notifyCb?: DO_NOTHING): Promise<string>
-
Parameters
-
str: string
-
regex: RegExp
-
-
Default value notifyCb: DO_NOTHING = DO_NOTHING
Returns Promise<string>