node-eventstore-client/src/persistentSubscriptionNakEventAction.js
2018-07-09 10:27:12 -07:00

15 lines
367 B
JavaScript

const PersistentSubscriptionNakEventAction = Object.freeze({
Unknown: 0,
Park: 1,
Retry: 2,
Skip: 3,
Stop: 4,
isValid: function(value) {
for(var k in PersistentSubscriptionNakEventAction) {
if (PersistentSubscriptionNakEventAction[k] === value) return true;
}
return false;
}
});
module.exports = PersistentSubscriptionNakEventAction;