pete/lib/runs/generator

(require("pete/lib/runs/generator"))(fn, options, state) → {module:pete/lib/runner~run}

Description:
  • This runs target generator function synchronously.

Source:
Parameters:
Name Type Description
fn function

to run

options object
Properties
Name Type Attributes Description
args Array.<any> <optional>

to pass to target function

state object

to modify with current and finished times

Returns:
Type
module:pete/lib/runner~run