UNPKG

nanoleaf-cove

Version:
19 lines (18 loc) 515 B
export default class NanoleafStream { private _config; private _socket; private _keepAlive; private _keepAliveInterval; private _connectionTimeout; constructor(config?: { host: any; username: any; type?: any; timeout?: any; }); setupStream: (keepAlive: any) => Promise<unknown>; keepAlive: () => void; stopStream: () => Promise<unknown>; sendStream: (lights: any) => Promise<unknown>; sendAnim: (animation: any) => Promise<unknown>; }