class InProcessMessageQueue
implements MessageQueue
A message queue that processes messages in the same process. Do not use this in production as it does neither persist messages nor distribute them across multiple processes.
new
InProcessMessageQueue(options?: InProcessMessageQueueOptions)
Constructs a new InProcessMessageQueue with the given options.
enqueue(message: any,options?: MessageQueueEnqueueOptions,): Promise<void>
listen(handler: (message: any) => Promise<void> | void,options?: MessageQueueListenOptions,): Promise<void>