UNPKG

msbot

Version:

MSBot command line tool for manipulating Microsoft Bot Framework .bot files

15 lines 823 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ function stdoutAsync(output) { return new Promise((done) => process.stdout.write(output, "utf-8", () => done())); } exports.stdoutAsync = stdoutAsync; function stderrAsync(output) { return new Promise((done) => process.stderr.write(output, "utf-8", () => done())); } exports.stderrAsync = stderrAsync; function logAsync(output) { return new Promise((done) => process.stdout.write(output + '\n', "utf-8", () => done())); } exports.logAsync = logAsync; function errorAsync(output) { return new Promise((done) => process.stderr.write(output + '\n', "utf-8", () => done())); } exports.errorAsync = errorAsync; //# sourceMappingURL=stdioAsync.js.map