league service
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { AutomationEvent } from './AutomationEventPublisherPort';
|
||||
|
||||
export type LifecycleCallback = (event: AutomationEvent) => Promise<void> | void;
|
||||
|
||||
export interface AutomationLifecycleEmitterPort {
|
||||
onLifecycle(cb: LifecycleCallback): void;
|
||||
offLifecycle(cb: LifecycleCallback): void;
|
||||
}
|
||||
Reference in New Issue
Block a user