kernl API
    Preparing search index...

    Function describeOutcome

    • Say what came of a publish in words for the person. The sentence never repeats a server's reason, which is written for developers and often names the protocol.

      Parameters

      Returns string

      A sentence such as Saved to 2 of 3 servers or No server accepted it.

      describeOutcome({ accepted: ['wss://a/'], refused: [{ url: 'wss://b/', reason: 'blocked' }], ok: true });
      // 'Saved to 1 of 2 servers'