@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?
optionalmode?:"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?
optionalsecret?: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?
optionalurl?:Ref
Defined in: sdk/ts/sdk/src/config/define.ts:58
Endpoint the dispatcher pushes tasks to, payload included.