UNPKG

twing

Version:

First-class Twig engine for Node.js

13 lines (12 loc) 481 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.executeFlushNodeSynchronously = exports.executeFlushNode = void 0; const executeFlushNode = (_node, { outputBuffer }) => { outputBuffer.flush(); return Promise.resolve(); }; exports.executeFlushNode = executeFlushNode; const executeFlushNodeSynchronously = (_node, { outputBuffer }) => { outputBuffer.flush(); }; exports.executeFlushNodeSynchronously = executeFlushNodeSynchronously;