LoadDataFn
LoadDataFn
A function used to load async data for use by an EmailEventHandler.
Signature
type LoadDataFn<Event extends EventWithContext, R> = (context: {
event: Event;
injector: Injector;
}) => Promise<R>
A function used to load async data for use by an EmailEventHandler.
type LoadDataFn<Event extends EventWithContext, R> = (context: {
event: Event;
injector: Injector;
}) => Promise<R>