doddle
    Preparing search index...

    Function iterate

    • Creates an ASeq of items by iterating a projection function.

      Type Parameters

      • T

      Parameters

      • count: number

        Number of items to iterate.

      • projection: (index: number) => MaybePromised<T>

        Function that receives the index and returns the item for that index, possibly asynchronously.

      Returns ASeq<T>

      An ASeq of the generated items.