( payload: DelayedSendPayload | CronTickPayload )
| 229 | } |
| 230 | |
| 231 | function cronTaskStreamPath( |
| 232 | payload: DelayedSendPayload | CronTickPayload |
| 233 | ): string | null { |
| 234 | return typeof (payload as { streamPath?: unknown }).streamPath === `string` |
| 235 | ? (payload as { streamPath: string }).streamPath |
| 236 | : null |
| 237 | } |
| 238 | |
| 239 | function normalizeTask(row: ScheduledTaskRow): { |
| 240 | id: number |
no outgoing calls
no test coverage detected