method AsyncTransformation.prototype.execute
AsyncTransformation.prototype.execute(
rules: readonly string[],
): Promise<readonly string[]>

Asynchronously executes the transformation on the given rules.

Parameters

rules: readonly string[]
  • Array of rules to transform
optional
context: ITransformationContext
  • Optional transformation context

Return Type

Promise<readonly string[]>

Promise resolving to transformed rules

Usage

import { AsyncTransformation } from ".";