openmixer — generated API reference
    Preparing search index...

    Function isPwLinkBenignOutcome

    • True when a pw-link outcome is already the state the caller was asking for: a CONNECT that failed because the edge already exists (classifyPwLinkStderr = EEXIST), or a DISCONNECT that failed because the edge is already gone (ENOENT) — both non-zero exits that would otherwise burn the whole exec-level retry budget for a rejection the runner reaches on the first spawn anyway. A caller passes this as ExecRunnerOptions.isBenign; it does not turn the outcome into a resolved promise, and it is purely an efficiency short-circuit — the connect/disconnect call site is what actually establishes "the edge already matches" as a success, by verify-after-fail, not by trusting this classification (see audio-engine/src/graph.ts's PipeWireBackend.connect/disconnect).

      Parameters

      • err: unknown

      Returns boolean