MCPcopy Create free account
hub / github.com/cujojs/most / runTask

Function runTask

src/task.js:9–15  ·  view source on GitHub ↗
(task)

Source from the content-addressed store, hash-verified

7}
8
9export function runTask (task) {
10 try {
11 return task.run()
12 } catch (e) {
13 return task.error(e)
14 }
15}

Callers 1

runTasksFunction · 0.85

Calls 2

runMethod · 0.65
errorMethod · 0.65

Tested by

no test coverage detected