PublisherOptions
Defined in: packages/pubsub/src/types.ts:56
Defaults applied to every publish call made by a publisher.
Type Parameters
Section titled “Type Parameters”TService
Section titled “TService”TService extends GenService<GenServiceMethods>
Properties
Section titled “Properties”contextValues?
Section titled “contextValues?”
optionalcontextValues?:ContextValues
Defined in: packages/pubsub/src/types.ts:60
Context values passed through the interceptor chain and to nested operations.
source?
Section titled “source?”
optionalsource?:string
Defined in: packages/pubsub/src/types.ts:58
Default CloudEvent source when a publish call does not provide one.
topic?
Section titled “topic?”
optionaltopic?:TopicConfig<TService>
Defined in: packages/pubsub/src/types.ts:67
Broker delivery topic configuration.
This does not change CloudEvent type. Handlers are selected by CloudEvent
type; topics only decide where the broker delivers the event.