UNPKG

@constructorfleet/ultimate-govee

Version:

Library for interacting with Govee devices written in Typescript.

15 lines 735 B
import { ICommandHandler, IEventHandler } from '@nestjs/cqrs'; import { BlePublishCommand } from '../commands'; import { BleChannelService } from '../ble-channel.service'; import { CommandExpiredEvent } from '../../../devices/cqrs'; import { EventBus } from '@nestjs/cqrs'; export declare class BlePublishCommandHandler implements ICommandHandler<BlePublishCommand>, IEventHandler<CommandExpiredEvent> { private readonly eventBus; private readonly service; private readonly logger; private expiredIds; constructor(eventBus: EventBus, service: BleChannelService); handle(event: CommandExpiredEvent): void; execute(command: BlePublishCommand): Promise<any>; } //# sourceMappingURL=ble-publish.handler.d.ts.map