Data Traverse plugin for the Seneca framework.
npm install @seneca/traverse> _Seneca Traverse_ is a plugin for Seneca
Data Traverse plugin for the Seneca framework.






| !Voxgig | This open source module is sponsored and supported by Voxgig. |
| ---------------------------------------------------- | --------------------------------------------------------------------------------------- |
``sh`
$ npm install @seneca/traverse
`js
seneca.use('Traverse', {})
const depsRes = await seneca.post('sys:traverse,find:deps')
// === { ok: true, deps: [['foo/bar0,foo/bar1'],...] }
`
Review the unit tests for more examples.
* debug : booleanrootExecute
* : booleanrootEntity
* : stringrelations
* : objectcustomRef
* : objectinit$
* : boolean
* sys:traverse,do:create,on:run
* sys:traverse,do:execute,on:task
* sys:traverse,do:next,on:task
* sys:traverse,do:start,on:run
* sys:traverse,do:stop,on:run
* sys:traverse,find:children
* sys:traverse,find:deps
Create a run process and generate tasks for each child entity to be executed.
#### Parameters
* __rootEntity__ : _string_ (optional, default: )
* __rootEntityId__ : _string_
* __taskMsg__ : _string_
----------
Execute a single Run task.
#### Parameters
* __task__ : _object_
----------
No description provided.
#### Parameters
* __runId__ : _string_
----------
Start a Run process execution, dispatching the next pending child task.
#### Parameters
* __runId__ : _string_
----------
Stop a Run process execution, preventing the dispatching of the next pending child task.
#### Parameters
* __runId__ : _string_
----------
Returns all discovered child instances with their parent relationship.
#### Parameters
* __rootEntity__ : _string_ (optional, default: )
* __rootEntityId__ : _string_
----------
Returns a sorted list of entity pairs starting from a given entity.
#### Parameters
* __rootEntity__ : _string_ (optional, default: `)
----------