@jawis/jates
Version:
18 lines (17 loc) • 457 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Behavior = void 0;
const _yapu_1 = require("yapu");
/**
*
*/
class Behavior {
constructor(deps) {
this.deps = deps;
/**
*
*/
this.onShutdown = () => (0, _yapu_1.safeAll)([this.deps.testFramework.kill(), this.deps.wsPool.shutdown()], this.deps.onError).then(() => { }); //just for typing
}
}
exports.Behavior = Behavior;