UNPKG

rxpoweredup

Version:

A Typescript RxJS-based library for controlling LEGO Powered UP hubs & peripherals.

6 lines (5 loc) 259 B
import { IChannel } from './i-channel'; import { IMessageMiddleware } from '../../hub'; export interface IChannelFactory { createChannel(characteristic: BluetoothRemoteGATTCharacteristic, messageMiddleware: ReadonlyArray<IMessageMiddleware>): IChannel; }