UNPKG

@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

3 lines (2 loc) 123 B
import { RemotePeer } from '../remote-peer'; export declare function subscribe(peer: RemotePeer, eventName: string): void;