Home > @xoram/core > EventSourceGetter
EventSourceGetter type
A function returning a direct emitter or an object holding an emitter. The application passed as parameter is the current application context onEvent
is called as part of.
Signature:
typescript
export type EventSourceGetter<notifications extends Notifications> = ((application: Application) => (EventSource<notifications> | EventSourceContainer<notifications>));
1
References: Notifications, Application, EventSource, EventSourceContainer