openmixer — generated API reference
    Preparing search index...

    Interface PanicState

    A held panic latch, as the pure composition model sees it. scope: null means no panic is held (the neutral value panicEngaged always reads false against). mains and allMutesInputs mirror the session's declared panic targets (PanicTargetsJson in session.ts) — this module does not read the session; the caller resolves them once and passes the resolved values in, exactly as it already resolves a mute group's membership.

    interface PanicState {
        allMutesInputs: boolean;
        mains: readonly ChannelId[];
        scope: PanicScope | null;
    }
    Index
    allMutesInputs: boolean

    Whether an all panic additionally silences every input channel.

    mains: readonly ChannelId[]

    The channels a mains panic silences.

    scope: PanicScope | null

    The engaged scope, or null when no panic is held.