UNPKG

487 BTypeScriptView Raw
1import { TriggeredListener } from "../listener/TriggeredListener";
2/**
3 * Register a TriggeredListener
4 */
5export interface TriggeredListenerRegistration {
6 /**
7 * Trigger can be a cron expression as string and/or a interval in milliseconds
8 */
9 trigger: {
10 cron?: string;
11 interval?: number;
12 };
13 /**
14 * Listener to invoke when the trigger fires
15 */
16 listener: TriggeredListener;
17}
18//# sourceMappingURL=TriggeredListenerRegistration.d.ts.map
\No newline at end of file