node-eventstore-client/src/common/systemStreams.js
Nicolas Dextraze 9be67bf7c7 Initial commit
2016-03-09 12:46:15 -08:00

6 lines
164 B
JavaScript

module.exports.metastreamOf = function(stream) {
return '$$' + stream;
};
module.exports.isMetastream = function(stream) {
return stream.indexOf('$$') === 0;
};