The 'init' event bus.
The list of all actors that are part of the comunica workflow.
Readonly
actorsThe list of all actors that are part of the comunica workflow.
Readonly
busThe 'init' event bus.
Collect the given actors that are available in this runner.
Example:
const { engine } = runner.collectActors({ engine: 'urn:comunica:default:init/actors#query' }; // engine is an actor instance
An error will be thrown if any of the actors could not be found in the runner.
A mapping of keys to actor identifiers.
A mapping of keys to actor instances.
Run a comunica workflow.
An 'init' action.
A promise that resolves when the init actors are triggered.
A Runner is used to instantiate a comunica workflow.
It is instantiated dynamically using a Components.js config file. A bus and a list of actors are injected into this runner dynamically.
The Runner#run function must be called to instantiate the workflow.