Count events on all relays in the group
Optionalopts: RelayCountOptionsProtectedinternalInternal logic for handling publishes to multiple relays
ProtectedinternalInternal logic for handling requests to multiple relays
Publish an event to all relays with retries ( default 3 retries )
Optionalopts: PublishOptionsSend a REQ to all relays and returns all responses
Optionalopts: RelayReqOptionsRequest events from all relays and complete based on condition
Optionalopts: GroupRequestOptionsOpen a subscription to all relays with retries ( default 3 retries )
Optionalopts: GroupSubscriptionOptionsNegentropy sync events with the relays and an event store
Optionaldirection: SyncDirectionOptionalopts: RelaySyncOptionsStaticcompleteCreates a complete condition that waits for the first EOSE message from a relay and then starts a timeout for the remaining relays
The timeout in milliseconds for the remaining relays
StaticcompleteCreates a complete condition that waits after the first EOSE while relays are still sending events
Optionalopts: CompleteAfterIdleOptions
Options for RelayGroup.completeAfterIdle()
Optionalcap?: numberMaximum time after the first EOSE before completing (default 15 seconds)
Optionalgrace?: numberMinimum time after the first EOSE to wait for relays that have not responded (default 3 seconds)
Optionalidle?: numberTime without any events before completing once the grace period has passed (default 1.5 seconds)
Optionalprogress?: numberMaximum time without new event ids while duplicates arrive, bounded below by idle (default 5 seconds)
StaticcompleteA group request complete condition that completes when any of the provided conditions are truthy (AND)
StaticcompleteCreates a group request complete operator that waits for all relays to send an EOSE message or timeout
StaticcompleteA group request complete condition that completes when any of the provided conditions are truthy (OR)
Observable of relay status for all relays in the group