Documentation
    Preparing search index...

    Interface RelayPoolLike

    Minimal relay pool interface that the shell requires.

    interface RelayPoolLike {
        publish(relayUrls: string[], event: any): void;
        request(
            relayUrls: string[],
            filters: any,
        ): {
            subscribe(
                observer: {
                    complete: () => void;
                    error: () => void;
                    next: (event: unknown) => void;
                },
            ): { unsubscribe(): void };
        };
        subscription(
            relayUrls: string[],
            filters: any,
        ): {
            subscribe(observer: (item: unknown) => void): { unsubscribe(): void };
        };
    }
    Index

    Methods

    • Parameters

      • relayUrls: string[]
      • filters: any

      Returns {
          subscribe(
              observer: {
                  complete: () => void;
                  error: () => void;
                  next: (event: unknown) => void;
              },
          ): { unsubscribe(): void };
      }

    • Parameters

      • relayUrls: string[]
      • filters: any

      Returns { subscribe(observer: (item: unknown) => void): { unsubscribe(): void } }