UNPKG

rxpoweredup

Version:

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

8 lines (7 loc) 481 B
import { HubConfig, IMotorsFeature, IMotorsFeatureFactory, IOutboundMessenger } from '../../hub'; import type { IMotorCommandsOutboundMessageFactory } from './i-motor-commands-outbound-message-factory'; export declare class MotorsFeatureFactory implements IMotorsFeatureFactory { private readonly messageFactory; constructor(messageFactory: IMotorCommandsOutboundMessageFactory); createMotorsFeature(messenger: IOutboundMessenger, config: HubConfig): IMotorsFeature; }