Skip to content

PublisherTransport

Transport interface for publishing CloudEvents.

optional defaultSource?: string

Transport-level default CloudEvent source used when publisher options do not provide one.

publish(request): Promise<void>

Publish a CloudEvent to the transport-specific topic.

PublishRequest

Promise<void>