UNPKG

@nestjstools/messaging-google-pubsub-extension

Version:

Extension to handle messages and dispatch them over Google PubSub

8 lines (7 loc) 502 B
import { GooglePubSubChannel } from '../channel/google-pub-sub.channel'; import { IMessagingConsumer, ConsumerDispatchedMessageError, ConsumerMessageBus } from '@nestjstools/messaging'; export declare class GooglePubSubMessagingConsumer implements IMessagingConsumer<GooglePubSubChannel> { private channel; consume(dispatcher: ConsumerMessageBus, channel: GooglePubSubChannel): Promise<void>; onError(errored: ConsumerDispatchedMessageError, channel: GooglePubSubChannel): Promise<void>; }