@genexus/web-standard-functions
Version:
GeneXus JavaScript standard functions library for web generators
17 lines • 591 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.msg = void 0;
const publishCall_1 = require("./publishCall");
/**
* Displays a message to the user
* @param {string} message The message to be displayed
* @param {string} mode Optional parameter. There are two modes to display the message: `nowait` and `status`
*/
const msg = (str, mode = "") => {
let resolver = (option, _, resolve) => {
resolve();
};
return (0, publishCall_1.publishCall)("msg", ["ok"], resolver, str, mode);
};
exports.msg = msg;
//# sourceMappingURL=msg.js.map