Function generateFunction

  • Task function generator

    Simplifies wrighting functions returning generated tasks

    Type Parameters

    • A extends any[]

    • T

    • TT extends Task<T>

      yielded task type

    • R

      returned task resolve type

    Parameters

    Returns TaskFunction<A, R>

    task resolving to generator's return type

Generated using TypeDoc