UNPKG

@devgrid/netron

Version:
15 lines (14 loc) 832 B
import { ServiceMetadata } from './types'; export declare const MAX_UID_VALUE: number; export declare const CONTEXTIFY_SYMBOL: unique symbol; export declare const SERVICE_ANNOTATION = "nsvc"; export declare const PUBLIC_ANNOTATION = "nsvc:pub"; 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; export declare const getServiceEventName: (serviceName: string) => string; export declare const getPeerEventName: (peerId: string) => string; export declare const getServiceMetadata: (instance: any) => ServiceMetadata;