Function search

  • Search the tree for entries.

    Parameters

    • blockstore: Blockstore<{}, {}, {}, {}, {}, {}, {}, {}>

      blockstore to use to fetch buckets

    • tree: ProllyTree

      ProllyTree to search

    • tuples: AwaitIterable<Tuple>

      Tuple used to search for associated value

    Returns AsyncIterable<Entry | Tuple>

    Associated Entry if found, otherwise returns Tuple