@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
11 lines (10 loc) • 585 B
TypeScript
export declare const MAX_UID_VALUE: number;
export declare const CONTEXTIFY_SYMBOL: unique symbol;
export declare const SERVICE_ANNOTATION = "netron:service";
export declare const PUBLIC_ANNOTATION = "netron:method";
export declare const NETRON_EVENT_SERVICE_EXPOSE = "service:expose";
export declare const NETRON_EVENT_SERVICE_UNEXPOSE = "service:unexpose";
export declare const NETRON_EVENT_PEER_CONNECT = "peer:connect";
export declare const NETRON_EVENT_PEER_DISCONNECT = "peer:disconnect";
export declare const CONNECT_TIMEOUT = 5000;
export declare const REQUEST_TIMEOUT = 5000;