UNPKG

rxpoweredup

Version:

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

9 lines (8 loc) 492 B
import { InjectionToken } from 'tsyringe'; import { RawMessage } from '../../types'; import { MessageType } from '../../constants'; export interface IPortInformationRequestMessageFactory { createPortValueRequest(portId: number): RawMessage<MessageType.portInformationRequest>; createPortModeRequest(portId: number): RawMessage<MessageType.portInformationRequest>; } export declare const PORT_INFORMATION_REQUEST_MESSAGE_FACTORY: InjectionToken<IPortInformationRequestMessageFactory>;