UNPKG

signalk-server

Version:

An implementation of a [Signal K](http://signalk.org) server for boats.

11 lines (10 loc) 405 B
import { Unsubscribes } from './types'; declare class SubscriptionManager { streambundle: any; selfContext: string; app: any; constructor(app: any); subscribe: (command: any, unsubscribes: Unsubscribes, errorCallback: (err: any) => void, callback: (msg: any) => void, user?: string) => void; unsubscribe(msg: any, unsubscribes: Unsubscribes): void; } export = SubscriptionManager;