kernl API
    Preparing search index...

    Function loadReplaceableQuietly

    • Load a replaceable event into the store from the cache and the lookup relays, so a caller can then read it from the store. A miss or a network failure leaves the store as it was.

      Parameters

      • loader: AddressPointerLoader

        The shell's replaceable loader.

      • tiers: Pick<RelayTiers, "get">

        The relay tiers the lookup relays come from.

      • pointer: { identifier?: string; kind: number; pubkey: string }

        The kind, author and, for an addressable event, its identifier.

      Returns Promise<void>

      Resolves when the load is over, whatever came of it; never rejects.

      await loadReplaceableQuietly(loader, tiers, { kind: 3, pubkey });
      store.getReplaceable(3, pubkey);