Class: Subscriber
deprecated
#
Constructors#
constructor• new Subscriber()
deprecated
#
Defined insrc/subscriber/subscriber.ts:38
#
Properties#
ackDeadlineSecondsâ–ª Static
ackDeadlineSeconds: number
= 10
Acknowledge deadline in seconds. If left unset the initial value will be 10 seconds, but it will evolve into the 99th percentile time it takes to acknowledge a message
deprecated
in favor of SubscriberV2.metadata.options.ackDeadline
#
Defined insrc/subscriber/subscriber.ts:33
#
descriptionâ–ª Static
description: string
deprecated
in favor of SubscriberV2.metadata.description
#
Defined insrc/subscriber/subscriber.ts:20
#
maxMessagesâ–ª Static
maxMessages: number
= 1
deprecated
in favor of SubscriberV2.metadata.options.flowControl.maxMessages
#
Defined insrc/subscriber/subscriber.ts:25
#
subscriptionNameâ–ª Static
subscriptionName: string
deprecated
in favor of SubscriberV2.metadata.subscriptionName
#
Defined insrc/subscriber/subscriber.ts:15
#
topicNameâ–ª Static
topicName: string
deprecated
in favor of SubscriberV2.metadata.topicName
#
Defined insrc/subscriber/subscriber.ts:10
#
Methods#
handleMessageâ–¸ handleMessage(_message
): Promise
<void
>
deprecated
#
ParametersName | Type |
---|---|
_message | Message |
#
ReturnsPromise
<void
>
#
Defined insrc/subscriber/subscriber.ts:53
#
initâ–¸ init(): Promise
<void
>
deprecated
#
ReturnsPromise
<void
>