Skip to content

cloudEventForMethod

cloudEventForMethod<TSchema>(method, payload, options): CloudEvent

Build a CloudEvent for a specific protobuf service method and payload init object.

TSchema extends DescMessage

DescMethodUnary<TSchema>

MessageInitShape<TSchema>

BuildCloudEventOptions

CloudEvent

CloudEvents specification