Interface IHookDefinition<D>

interface IHookDefinition<D> {
    event: IEventDefinition<void>;
    run: ((event: IEvent<any>, dependencies: DependencyValuesType<D>) => void | Promise<void>);
}

Type Parameters

Properties

Properties

event: IEventDefinition<void>
run: ((event: IEvent<any>, dependencies: DependencyValuesType<D>) => void | Promise<void>)