xstate-audition
    Preparing search index...

    Type Alias EventFromEventType<TActor, TEventType>

    EventFromEventType: xs.ExtractEvent<
        xs.EventFromLogic<TActor["logic"]>,
        TEventType,
    >

    Given a XState Actor and an xs.EventObject.type event type (the type field of an EventObject), returns the type of the corresponding event.

    Does not apply to "emitted" events.

    Type Parameters