(invocation)
| 230 | } |
| 231 | |
| 232 | function scheduleInvocation(invocation) { |
| 233 | sorted.add(invocations, invocation, sorter); |
| 234 | prepareNextInvocation(); |
| 235 | const date = invocation.fireDate instanceof CronDate ? invocation.fireDate.toDate() : invocation.fireDate; |
| 236 | invocation.job.emit('scheduled', date); |
| 237 | } |
| 238 | |
| 239 | function prepareNextInvocation() { |
| 240 | if (invocations.length > 0 && currentInvocation !== invocations[0]) { |
no test coverage detected
searching dependent graphs…