createNotifyEnqueuer
createNotifyEnqueuer(
deps,queue): (job) =>Promise<void>
Defined in: packages/core/src/capture/build-state/notify-job.ts:150
Enqueue a notify job for a channel and build, unless one is already waiting: it will read the
build’s state when it runs, so a second would deliver the same thing. A job that is already
running may have read an older state, so a new one is queued behind it.
Parameters
Section titled “Parameters”Pick<BuildStateDeps, "db">
Returns
Section titled “Returns”(job) => Promise<void>