Skip to main content
Version: v1

Class: Subscriber

deprecated

Constructors#

constructor#

• new Subscriber()

deprecated

Defined in#

src/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 in#

src/subscriber/subscriber.ts:33


description#

â–ª Static description: string

deprecated in favor of SubscriberV2.metadata.description

Defined in#

src/subscriber/subscriber.ts:20


maxMessages#

â–ª Static maxMessages: number = 1

deprecated in favor of SubscriberV2.metadata.options.flowControl.maxMessages

Defined in#

src/subscriber/subscriber.ts:25


subscriptionName#

â–ª Static subscriptionName: string

deprecated in favor of SubscriberV2.metadata.subscriptionName

Defined in#

src/subscriber/subscriber.ts:15


topicName#

â–ª Static topicName: string

deprecated in favor of SubscriberV2.metadata.topicName

Defined in#

src/subscriber/subscriber.ts:10

Methods#

handleMessage#

â–¸ handleMessage(_message): Promise<void>

deprecated

Parameters#

NameType
_messageMessage

Returns#

Promise<void>

Defined in#

src/subscriber/subscriber.ts:53


init#

â–¸ init(): Promise<void>

deprecated

Returns#

Promise<void>

Defined in#

src/subscriber/subscriber.ts:46