UNPKG

rxpoweredup

Version:

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

9 lines (8 loc) 582 B
import { InjectionToken } from 'tsyringe'; import { RawMessage } from '../types'; import { MessageType } from '../constants'; export interface IPortInputFormatSetupMessageFactory { createMessage(portId: number, mode: number, notificationsEnabled: true, deltaThreshold?: number): RawMessage<MessageType.portInputFormatSetupSingle>; createMessage(portId: number, mode: number, notificationsEnabled: false): RawMessage<MessageType.portInputFormatSetupSingle>; } export declare const PORT_INPUT_FORMAT_SETUP_MESSAGE_FACTORY: InjectionToken<IPortInputFormatSetupMessageFactory>;