UNPKG

@cap-js-community/event-queue

Version:

An event queue that enables secure transactional processing of asynchronous and periodic events, featuring instant event processing with Redis Pub/Sub and load distribution across all application instances.

28 lines (26 loc) 497 B
"use strict"; module.exports = { EventProcessingStatus: { Open: 0, InProgress: 1, Done: 2, Error: 3, Exceeded: 4, Suspended: 5, }, TransactionMode: { isolated: "isolated", alwaysCommit: "alwaysCommit", alwaysRollback: "alwaysRollback", }, Priorities: { Low: "low", Medium: "medium", High: "high", VeryHigh: "veryHigh", }, TenantIdCheckTypes: { eventProcessing: "eventProcessing", getAuthContext: "getAuthContext", }, };