preserves/implementations/javascript/src/symbols.js

16 lines
459 B
JavaScript
Raw Normal View History

"use strict";
// Symbols for various Preserves protocols.
2019-06-14 11:47:38 +00:00
if (require('./singletonmodule.js')('leastfixedpoint.com/preserves',
require('../package.json').version,
'symbols.js',
2019-06-14 11:47:38 +00:00
module)) return;
2019-06-13 20:29:55 +00:00
const PreserveOn = Symbol.for('PreserveOn');
const AsPreserve = Symbol.for('AsPreserve');
Object.assign(module.exports, {
PreserveOn,
AsPreserve,
});