slack-edge
Version:
Slack app development framework for edge functions with streamlined TypeScript support
16 lines • 493 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NoopExecutionContext = void 0;
/**
* Default ExecutionContext with simple settings.
*/
class NoopExecutionContext {
// deno-lint-ignore no-explicit-any
waitUntil(promise) {
promise.catch((reason) => {
console.error(`Failed to run a lazy listener: ${reason}`);
});
}
}
exports.NoopExecutionContext = NoopExecutionContext;
//# sourceMappingURL=execution-context.js.map