• Executes a BuildStep with handlers and a range of buffer.

    Type Parameters

    • T

    Parameters

    Returns (<U>(onDone) => ((onBufferFull) => ((onInsertChunk) => ((range) => U))))

    The result from one of handlers.

      • <U>(onDone): ((onBufferFull) => ((onInsertChunk) => ((range) => U)))
      • Type Parameters

        • U

        Parameters

        • onDone: ((nextFreeIndex) => ((computed) => U))
            • (nextFreeIndex): ((computed) => U)
            • Parameters

              • nextFreeIndex: number

              Returns ((computed) => U)

                • (computed): U
                • Parameters

                  • computed: T

                  Returns U

        Returns ((onBufferFull) => ((onInsertChunk) => ((range) => U)))

          • (onBufferFull): ((onInsertChunk) => ((range) => U))
          • Parameters

            • onBufferFull: ((nextMinimalSize) => ((currentFreeIndex) => ((nextToRun) => U)))
                • (nextMinimalSize): ((currentFreeIndex) => ((nextToRun) => U))
                • Parameters

                  • nextMinimalSize: number

                  Returns ((currentFreeIndex) => ((nextToRun) => U))

                    • (currentFreeIndex): ((nextToRun) => U)
                    • Parameters

                      • currentFreeIndex: number

                      Returns ((nextToRun) => U)

                        • (nextToRun): U
                        • Parameters

                          Returns U

            Returns ((onInsertChunk) => ((range) => U))

              • (onInsertChunk): ((range) => U)
              • Parameters

                • onInsertChunk: ((currentFreeIndex) => ((toInsert) => ((nextToRun) => U)))
                    • (currentFreeIndex): ((toInsert) => ((nextToRun) => U))
                    • Parameters

                      • currentFreeIndex: number

                      Returns ((toInsert) => ((nextToRun) => U))

                        • (toInsert): ((nextToRun) => U)
                        • Parameters

                          • toInsert: DataView

                          Returns ((nextToRun) => U)

                            • (nextToRun): U
                            • Parameters

                              Returns U

                Returns ((range) => U)

Generated using TypeDoc