Applesauce
    Preparing search index...
    Index

    Constructors

    Properties

    add$: Subject<Relay> = ...

    A signal when a relay is added

    ignoreOffline: boolean = true

    Whether to ignore relays that are ready=false

    options?: RelayOptions
    relays$: BehaviorSubject<Map<string, Relay>> = ...
    remove$: Subject<Relay> = ...

    A signal when a relay is removed

    status$: Observable<Record<string, RelayStatus>>

    Observable of relay status for all relays in the pool

    Accessors

    Methods

    • Removes a relay from the pool and defaults to closing the connection

      Parameters

      • relay: string | Relay
      • close: boolean = true

      Returns void