Interface MeetingJob

A run's dispatch job: when it is due, who holds its lease, and whether it was dispatched or cancelled.

interface MeetingJob {
    runId: string;
    dispatchAt: number;
    leaseHolder?: string;
    leaseExpiresAt?: number;
    workerId?: string;
    dispatched: boolean;
    cancelled: boolean;
}

Properties

runId: string

The run the job dispatches.

dispatchAt: number

When the job is due, in milliseconds.

leaseHolder?: string

The manager instance holding the dispatch lease.

leaseExpiresAt?: number

When the lease runs out, in milliseconds.

workerId?: string

The worker the provider dispatched to.

dispatched: boolean

Set when the dispatch was recorded.

cancelled: boolean

Set by a cancel. A cancelled job is never leased.