@dxos/halo
    Preparing search index...

    Type Alias Event

    Event:
        | { _tag: "connecting" }
        | { _tag: "connected" }
        | { _tag: "readyForAuthentication"; authCode?: string }
        | { _tag: "authenticating" }
        | { _tag: "success"; result: Result }
        | { _tag: "cancelled" }
        | { _tag: "error"; message: string }

    A lifecycle event emitted by an invitation Flow. Terminal events are success, cancelled, and error. Replaces polling on the legacy Invitation.State enum.