Interfaces
@system-inc/base-foundation · 515c140 · 3 symbols
WorkerQueueMessage
interface
Represents a message that will be sent to a worker queue.
Members
payload:PayloadTypetype:string
WorkerQueueProcessorInterface
interface
A WorkerQueueProcessor is responsible for processing messages that are submitted to a WorkerQueue.
Members
process(message:PayloadType,context:WorkerQueueProcessorContext):Promise<void>processBatch(batch:readonly ({ context: WorkerQueueProcessorContext; message: PayloadType })[]):Promise<void>
WorkerQueueSettings
interface
Settings related to queues for the Base Worker.
Members
bindings?:string[]Queue bindings that the Base Worker will have access to. These are the queues that the Base Worker will produce messages to.