UNPKG

@botonic/plugin-flow-builder

Version:

Botonic plugin for **Hubtype Flow Builder**: run and bridge flow-driven logic from bots on the **current** line.

16 lines 481 B
import { __awaiter } from "tslib"; export class ContentFilterExecutor { constructor(options) { this.filters = []; this.filters = options.filters; } filter(botonicContext, content) { return __awaiter(this, void 0, void 0, function* () { for (const filter of this.filters) { content = yield filter(botonicContext, content); } return content; }); } } //# sourceMappingURL=index.js.map