respond-framework
Version:
create as fast you think
13 lines (12 loc) • 391 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
const promisesCompleted = async function (e) {
await Promise.all(this.promises);
this.promises.length = 0;
this.ctx.lastTriggerEvent = e; // seed will only be saved if not an event from replayTools
this.queueSaveSession();
};
var _default = exports.default = promisesCompleted;