rxpoweredup
Version:
A Typescript RxJS-based library for controlling LEGO Powered UP hubs & peripherals.
12 lines (11 loc) • 526 B
TypeScript
import { PortOutputCommandFeedback } from '../../../types';
import { TaskPortOutputCommand } from '../queue-tasks';
/**
* Updates the state of the corresponding task based on the feedback from the hub.
*/
export declare class FeedbackHandler {
private readonly inProgressOrWaitingForResponse;
private readonly waitingForResponse;
handlePortOutputCommandFeedback(commands: ReadonlyArray<TaskPortOutputCommand>, feedback: PortOutputCommandFeedback): void;
private getFirstPortOutputCommandWithMatchingState;
}