UNPKG

rxpoweredup

Version:

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

9 lines (8 loc) 417 B
import { InjectionToken } from 'tsyringe'; import { IMotorsFeature } from './i-motors-feature'; import { IOutboundMessenger } from './i-outbound-messenger'; import { HubConfig } from './hub-config'; export interface IMotorsFeatureFactory { createMotorsFeature(messenger: IOutboundMessenger, config: HubConfig): IMotorsFeature; } export declare const MOTORS_FEATURE_FACTORY: InjectionToken<IMotorsFeatureFactory>;