mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
12 lines
273 B
JavaScript
12 lines
273 B
JavaScript
const { promiseProvider } = require("../../../__util__/async-helpers");
|
|
|
|
exports.templateData = {
|
|
beginAsync: function (out) {
|
|
var asyncOut = out.beginAsync();
|
|
promiseProvider(1).then(function () {
|
|
asyncOut.write("B");
|
|
asyncOut.end();
|
|
});
|
|
},
|
|
};
|