redis-smq
Version:
A high-performance, reliable, and scalable message queue for Node.js.
36 lines • 2.35 kB
JavaScript
export var EQueueOperationalState;
(function (EQueueOperationalState) {
EQueueOperationalState[EQueueOperationalState["ACTIVE"] = 0] = "ACTIVE";
EQueueOperationalState[EQueueOperationalState["PAUSED"] = 1] = "PAUSED";
EQueueOperationalState[EQueueOperationalState["STOPPED"] = 2] = "STOPPED";
EQueueOperationalState[EQueueOperationalState["LOCKED"] = 3] = "LOCKED";
})(EQueueOperationalState || (EQueueOperationalState = {}));
export var EQueueType;
(function (EQueueType) {
EQueueType[EQueueType["LIFO_QUEUE"] = 0] = "LIFO_QUEUE";
EQueueType[EQueueType["FIFO_QUEUE"] = 1] = "FIFO_QUEUE";
EQueueType[EQueueType["PRIORITY_QUEUE"] = 2] = "PRIORITY_QUEUE";
})(EQueueType || (EQueueType = {}));
export var EQueueDeliveryModel;
(function (EQueueDeliveryModel) {
EQueueDeliveryModel[EQueueDeliveryModel["POINT_TO_POINT"] = 0] = "POINT_TO_POINT";
EQueueDeliveryModel[EQueueDeliveryModel["PUB_SUB"] = 1] = "PUB_SUB";
})(EQueueDeliveryModel || (EQueueDeliveryModel = {}));
export var EQueueProperty;
(function (EQueueProperty) {
EQueueProperty[EQueueProperty["QUEUE_TYPE"] = 0] = "QUEUE_TYPE";
EQueueProperty[EQueueProperty["RATE_LIMIT"] = 1] = "RATE_LIMIT";
EQueueProperty[EQueueProperty["MESSAGES_COUNT"] = 2] = "MESSAGES_COUNT";
EQueueProperty[EQueueProperty["DELIVERY_MODEL"] = 3] = "DELIVERY_MODEL";
EQueueProperty[EQueueProperty["SCHEDULED_MESSAGES_COUNT"] = 4] = "SCHEDULED_MESSAGES_COUNT";
EQueueProperty[EQueueProperty["PENDING_MESSAGES_COUNT"] = 5] = "PENDING_MESSAGES_COUNT";
EQueueProperty[EQueueProperty["PROCESSING_MESSAGES_COUNT"] = 6] = "PROCESSING_MESSAGES_COUNT";
EQueueProperty[EQueueProperty["ACKNOWLEDGED_MESSAGES_COUNT"] = 7] = "ACKNOWLEDGED_MESSAGES_COUNT";
EQueueProperty[EQueueProperty["DEAD_LETTERED_MESSAGES_COUNT"] = 8] = "DEAD_LETTERED_MESSAGES_COUNT";
EQueueProperty[EQueueProperty["DELAYED_MESSAGES_COUNT"] = 9] = "DELAYED_MESSAGES_COUNT";
EQueueProperty[EQueueProperty["REQUEUED_MESSAGES_COUNT"] = 10] = "REQUEUED_MESSAGES_COUNT";
EQueueProperty[EQueueProperty["OPERATIONAL_STATE"] = 11] = "OPERATIONAL_STATE";
EQueueProperty[EQueueProperty["LAST_STATE_CHANGE_AT"] = 12] = "LAST_STATE_CHANGE_AT";
EQueueProperty[EQueueProperty["LOCK_ID"] = 13] = "LOCK_ID";
})(EQueueProperty || (EQueueProperty = {}));
//# sourceMappingURL=queue.js.map