Skip to content

SubscribeOptions

Defined in: packages/pubsub/src/types.ts:87

Transport-neutral subscription options passed through to subscriber transports.

optional concurrency?: number

Defined in: packages/pubsub/src/types.ts:91

Maximum concurrent deliveries requested from the transport.


optional consumerGroup?: string

Defined in: packages/pubsub/src/types.ts:89

Consumer group or durable subscription identifier owned by the transport.


optional contextValues?: ContextValues

Defined in: packages/pubsub/src/types.ts:100

Context values passed through the interceptor chain and to nested operations.


optional maxAttempts?: number

Defined in: packages/pubsub/src/types.ts:96

Maximum one-based delivery attempts before a retry disposition is converted to a dead-letter disposition by the transport. Unset means no transport-enforced limit.


optional signal?: AbortSignal

Defined in: packages/pubsub/src/types.ts:98

Optional cancellation signal for stopping long-running subscriptions.