Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
12 lines
540 B
Plaintext
12 lines
540 B
Plaintext
import type { Event, EventHint } from './event';
|
|
/**
|
|
* Event processors are used to change the event before it will be sent.
|
|
* We strongly advise to make this function sync.
|
|
* Returning a PromiseLike<Event | null> will work just fine, but better be sure that you know what you are doing.
|
|
* Event processing will be deferred until your Promise is resolved.
|
|
*/
|
|
export interface EventProcessor {
|
|
(event: Event, hint: EventHint): PromiseLike<Event | null> | Event | null;
|
|
id?: string;
|
|
}
|
|
//# sourceMappingURL=eventprocessor.d.ts.map |