Interface ChordHandler<E>

Object with handlers that get fired based on the conditional checks.

interface ChordHandler<E extends ChordedEvent> {
    on(chords: ChordInput, listener: ChordMatchListener<E>): ChordHandler<E>;
    when(
        condition: WhenCondition<E>,
        listener: ChordMatchListener<E>,
    ): ChordHandler<E>;
}

Type Parameters

Methods

Methods