File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
packages/core/src/plugins Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import { ContextData } from "./ContextData.js";
55import { PluginContext } from "./PluginContext.js" ;
66
77export class EventPluginContext extends PluginContext {
8+ public cancelled : boolean = false ;
9+
810 constructor (
911 client : ExceptionlessClient ,
1012 public event : Event ,
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ import { PluginContext } from "./PluginContext.js";
44export interface IEventPlugin {
55 priority ?: number ;
66 name ?: string ;
7- // TODO: Seems like we need a marker on startup context to determine if it's being resumed?
8- startup ( context : PluginContext ) : Promise < void > ;
9- suspend ( context : PluginContext ) : Promise < void > ;
7+ startup ?( context : PluginContext ) : Promise < void > ;
8+ suspend ?( context : PluginContext ) : Promise < void > ;
109 run ( context : EventPluginContext ) : Promise < void > ;
1110}
You can’t perform that action at this time.
0 commit comments