Skip to content

Interface: PublishOutcome

Defined in: index.ts:789 (opens in a new tab)

What a publish achieved, across relays. A reader learns of an event only from a relay that holds it, so a revocation or record is in effect for anyone once at least one relay has accepted it, and not before. Each relay counts once, as accepted if any attempt at it was.

PropertiesLink to this section

PropertyTypeDescriptionDefined in
acceptednumberindex.ts:791 (opens in a new tab)
kind"none" | "partial" | "all"index.ts:790 (opens in a new tab)
relaysstring[]The relays that accepted it.index.ts:794 (opens in a new tab)
totalnumberindex.ts:792 (opens in a new tab)