Skip to main content
protected queue(method, payload?, opts?): Promise<string>
Schedule a persistent task to run as soon as possible — identical to schedule(0, method, payload, opts). The canonical “think in the background” move: append to history in the inbound method, queue() the slow work, return immediately. Same dispatch, retry, and idempotency semantics as schedule. Parameters Returns Promise<string> The task id.