Skip to content

@graphty/graphty-element / session / QUEUE_POLICIES

Variable: QUEUE_POLICIES ​

const QUEUE_POLICIES: readonly ["append", "replace", "now"]

Defined in: graphty-element/src/session/runs/types.ts:334

How a call joins the queue.

"append" waits its turn. "replace" aborts the in-flight work of the same kind, rejecting its promise with an AbortError. "now" runs beside the queue, and is refused for anything that mutates.