GCPQueue
Class: GCPQueue<T, K>
GCP Queue implementation on top of Pub/Sub
Webda Modda
GoogleCloudQueue
Extends
Queue<T,K>
Type parameters
• T = any
• K extends GCPQueueParameters = GCPQueueParameters
Constructors
new GCPQueue(webda, name, params)
new GCPQueue<
T,K>(webda,name,params?):GCPQueue<T,K>
Service
Parameters
• webda: Core<CoreEvents>
The main instance of Webda
• name: string
The name of the service
• params?: DeepPartial<K>
The parameters block define in the configuration file
Returns
GCPQueue<T, K>
Inherited from
Queue<T, K>.constructor
Source
core/lib/services/service.d.ts:167
Properties
_createException
_createException:
string
Inherited from
Queue._createException
Source
core/lib/services/service.d.ts:148
_initException
_initException:
any
Inherited from
Queue._initException
Source
core/lib/services/service.d.ts:150
_initTime
_initTime:
number
Inherited from
Queue._initTime
Source
core/lib/services/service.d.ts:149
_name
protected_name:string
Service name
Inherited from
Queue._name
Source
core/lib/services/service.d.ts:141
_timeout
protected_timeout:Timeout
Current timeout handler
Inherited from
Queue._timeout
Source
core/lib/queues/queueservice.d.ts:55
_webda
protected_webda:Core<CoreEvents>
Webda Core object
Inherited from
Queue._webda
Source
core/lib/services/service.d.ts:137
delayer
protecteddelayer:WaitDelayer
Delayer
Inherited from
Queue.delayer
Source
core/lib/queues/queueservice.d.ts:67
eventPrototype
eventPrototype: () =>
T
Returns
T
Inherited from
Queue.eventPrototype
Source
core/lib/queues/queueservice.d.ts:68
failedIterations
protectedfailedIterations:number
Current pause instance
Inherited from
Queue.failedIterations
Source
core/lib/queues/queueservice.d.ts:63
logger
protectedlogger:Logger
Logger with class context
Inherited from
Queue.logger
Source
core/lib/services/service.d.ts:154
messages
messages:
Object={}
Index signature
[key: string]: Message
Source
metrics
protectedmetrics:Object