createPublisher
createPublisher<
TService>(service,transport,options?):EventPublisher<TService>
Defined in: packages/pubsub/src/publisher.ts:23
Create a method-shaped event publisher for a generated protobuf service.
Type Parameters
Section titled “Type Parameters”TService
Section titled “TService”TService extends GenService<GenServiceMethods>
Parameters
Section titled “Parameters”service
Section titled “service”TService
transport
Section titled “transport”options?
Section titled “options?”PublisherOptions<TService>
Returns
Section titled “Returns”EventPublisher<TService>