UNPKG

518 BTypeScriptView Raw
1import { Event, EventHint } from './event';
2/**
3 * Event processors are used to change the event before it will be send.
4 * We strongly advise to make this function sync.
5 * Returning a PromiseLike<Event | null> will work just fine, but better be sure that you know what you are doing.
6 * Event processing will be deferred until your Promise is resolved.
7 */
8export declare type EventProcessor = (event: Event, hint?: EventHint) => PromiseLike<Event | null> | Event | null;
9//# sourceMappingURL=eventprocessor.d.ts.map
\No newline at end of file