- Implement ProtocolStore interface to allow persisting hanging protocols using different strategies - Implement and set default strategy to persist hanging protocols in the MongoDB collection “HangingProtocols” in the application server
15 lines
300 B
JavaScript
15 lines
300 B
JavaScript
HangingProtocols = new Meteor.Collection('hangingprotocols');
|
|
HangingProtocols._debugName = 'HangingProtocols';
|
|
|
|
HangingProtocols.allow({
|
|
insert: function() {
|
|
return true;
|
|
},
|
|
update: function() {
|
|
return true;
|
|
},
|
|
remove: function() {
|
|
return true;
|
|
}
|
|
});
|