class AsyncTransformation
extends Transformation

Abstract base class for async transformations. Use this for transformations that need to fetch external resources or perform I/O.

Methods

abstract
execute(
rules: readonly string[],
): Promise<readonly string[]>

Asynchronously executes the transformation on the given rules.

Usage

import { AsyncTransformation } from ".";