(require("pete/lib/runs/async"))(fn, options, state) → {module:pete/lib/runner~run}
- Description:
This runs target async function.
Single run is finished after returned Promise is resolved (or fails).
- Source:
Parameters:
| Name | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
fn |
function | to run |
||||||||
options |
object |
Properties
|
||||||||
state |
object | to modify with |