Skip to content

@oona/vlo / index / QueueProfile

Interface: QueueProfile ​

Defined in: sdk/ts/sdk/src/config/define.ts:56

How tasks on one queue reach their workers. A queue with neither url nor mode is served only by a worker in the same process.

Properties ​

mode? ​

optional mode?: "push" | "pull"

Defined in: sdk/ts/sdk/src/config/define.ts:62

"push" delivers to url; "pull" never pushes and lets workers long-poll the host instead.


secret? ​

optional secret?: Ref

Defined in: sdk/ts/sdk/src/config/define.ts:60

HMAC secret shared with the worker behind url; required for an HTTP push.


url? ​

optional url?: Ref

Defined in: sdk/ts/sdk/src/config/define.ts:58

Endpoint the dispatcher pushes tasks to, payload included.