pete/lib/runs/fork

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

Description:
  • This run forks target function to separate process and then simply passes any reports from it.
    Single, and only run, is finished after child process exits.

Source:
Parameters:
Name Type Description
fn function | string

to run

options object
state object

to pass to the reporting function

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