NorskLinkInputHealth type

The health of a NorskInput.norskLink() input’s connection to its output. It reconnects by itself.

Signature:

export type NorskLinkInputHealth =
/** `attempts` counts the failed connects before this one */
{
    event: "connected";
    attempts: number;
} | {
    event: "disconnected";
    reason: "closed" | "endpointChanged";
};