(dep: any)
| 30 | } |
| 31 | |
| 32 | function isPendingAwareJob(dep: any): dep is PendingAwareJob { |
| 33 | return ( |
| 34 | typeof dep === `object` && |
| 35 | dep !== null && |
| 36 | typeof dep.hasPendingGraphRun === `function` |
| 37 | ) |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Scoped scheduler that coalesces work by context and job. |