• Captures the continuation up to the nearest enclosing reset, and passes it to computation.

    Type Parameters

    • R

    • A

    Parameters

    • computation: ((exit) => Cont<R, R>)

      The computation will be provided exit.

        • (exit): Cont<R, R>
        • Parameters

          • exit: ((a) => R)
              • (a): R
              • Parameters

                • a: A

                Returns R

          Returns Cont<R, R>

    Returns Cont<R, A>

    The limited continuation.

Generated using TypeDoc