MCPcopy Create free account
hub / github.com/cloudconvert/cloudconvert-cli / InterruptSignalEmitter

Interface InterruptSignalEmitter

src/job.ts:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32interface InterruptSignalEmitter {
33 once(signal: 'SIGINT', listener: () => void): unknown;
34 off(signal: 'SIGINT', listener: () => void): unknown;
35}
36
37const JOB_STATUS_POLL_INTERVAL_MS = 30_000;
38const JOB_CANCELLED_MESSAGE = 'Job cancelled.';

Callers 2

createJobCancellationFunction · 0.80
createJobCancellationFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected