@qualithm/device - v0.12.2
    Preparing search index...

    Type Alias CommandHandler<V>

    CommandHandler: (value: V) => void

    Handler for commands addressed to one capability key. A settable capability's handler receives the decoded value; a trigger capability's handler is invoked with undefined.

    Type Parameters

    • V = unknown

    Type Declaration

      • (value: V): void
      • Parameters

        • value: V

        Returns void