Skip to content

PersistentAI API Documentation / @persistentai/fireflow-executor / server / executionQueue

Variable: executionQueue

const executionQueue: WorkflowQueue

Defined in: packages/fireflow-executor/server/dbos/queue.ts:33

Module-level workflow queue for fireflow executions

CRITICAL: This must be created BEFORE DBOS.launch() for the worker to dequeue tasks. If created after DBOS.launch(), the queue will only be used for enqueueing (not dequeueing).

The queue is exported at module level so it's created during module load, which happens before DBOS.launch() is called.

Licensed under BUSL-1.1