UNPKG

globular-element

Version:

Collection of webcomponent to work with globular

8 lines (7 loc) 419 B
import { Globular } from "globular-web-client"; import { Peer } from "globular-web-client/resource/resource_pb"; export declare class PeerController { private static __peers__; static getPeers(callback: (peers: Peer[]) => void, errorCallback: (err: any) => void, globule?: Globular): void; static getPeer(id: string, globule: any, callback: (peer: Peer) => void, errorCallback: (err: any) => void): void; }