UNPKG

rxpoweredup

Version:

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

8 lines (7 loc) 409 B
import type { TaskPortOutputCommand, TaskWithResponse, TaskWithoutResponse } from '../queue-tasks'; import { IDisposable } from '../../../types'; export interface ITaskVisitor extends IDisposable { visitTaskWithResponse<TResponse>(task: TaskWithResponse<TResponse>): void; visitTaskWithoutResponse(task: TaskWithoutResponse): void; visitTaskPortOutputCommand(task: TaskPortOutputCommand): void; }