(require("pete/lib/runs/callback"))(fn, options, state) → {module:pete/lib/runner~run}
- Description:
This runs target function by passing a callback to it.
Single run is finished after target function calls back.
- Source:
Parameters:
| Name | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
fn |
function | to run |
||||||||
options |
object |
Properties
|
||||||||
state |
object | to modify with |