@devgrid/netron
Version:
A powerful TypeScript library for building distributed systems with event bus, streaming capabilities, and remote object invocation. Features WebSocket-based bidirectional communication between Node.js and browser environments, service discovery, and type
14 lines • 911 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.REQUEST_TIMEOUT = exports.CONNECT_TIMEOUT = exports.NETRON_EVENT_PEER_DISCONNECT = exports.NETRON_EVENT_PEER_CONNECT = exports.NETRON_EVENT_SERVICE_UNEXPOSE = exports.NETRON_EVENT_SERVICE_EXPOSE = exports.PUBLIC_ANNOTATION = exports.SERVICE_ANNOTATION = exports.CONTEXTIFY_SYMBOL = exports.MAX_UID_VALUE = void 0;
exports.MAX_UID_VALUE = Number.MAX_SAFE_INTEGER >>> 0;
exports.CONTEXTIFY_SYMBOL = Symbol();
exports.SERVICE_ANNOTATION = 'netron:service';
exports.PUBLIC_ANNOTATION = 'netron:method';
exports.NETRON_EVENT_SERVICE_EXPOSE = 'service:expose';
exports.NETRON_EVENT_SERVICE_UNEXPOSE = 'service:unexpose';
exports.NETRON_EVENT_PEER_CONNECT = 'peer:connect';
exports.NETRON_EVENT_PEER_DISCONNECT = 'peer:disconnect';
exports.CONNECT_TIMEOUT = 5000;
exports.REQUEST_TIMEOUT = 5000;
//# sourceMappingURL=constants.js.map