Skip to content

@oona/vlo / host / QueueConfig

Interface: QueueConfig ​

Defined in: sdk/ts/sdk/src/host/context.ts:65

How tasks on one queue leave this host.

Properties ​

mode? ​

optional mode?: "push" | "pull"

Defined in: sdk/ts/sdk/src/host/context.ts:71

push (default) dispatches from the outbox; pull leaves tasks for POST /v1/tasks/poll.


secret? ​

optional secret?: string

Defined in: sdk/ts/sdk/src/host/context.ts:69

HMAC secret shared with the queue's worker. Required for HTTP push.


url? ​

optional url?: string

Defined in: sdk/ts/sdk/src/host/context.ts:67

Where to push tasks on this queue. Absent ⇒ in-process only.