| 11 | const jobQueue = new JobQueue() |
| 12 | |
| 13 | interface Screenshot { |
| 14 | id: ID |
| 15 | time: number |
| 16 | image: string |
| 17 | events: ID[] |
| 18 | } |
| 19 | |
| 20 | export async function showScreenshot(screenshot: Screenshot, ctx: BackendContext) { |
| 21 | await jobQueue.queue('showScreenshot', async () => { |
nothing calls this directly
no outgoing calls
no test coverage detected