@comunica/mediator-all
v4.0.2
Published
A all mediator
Downloads
14,754
Readme
Comunica Mediator All
A mediator that runs all actors on a bus in parallel that resolve their test.
This mediator will always resolve to null
.
This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.
Click here if you just want to query with Comunica.
Install
$ yarn add @comunica/mediator-all
Configure
After installing, this mediator can be instantiated as follows:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/mediator-all/^4.0.0/components/context.jsonld"
],
"actors": [
...
{
"@type": "SomeActor",
"someMediator": {
"@id": "urn:comunica:default:http/mediators#mainInvalidate",
"@type": "MediatorAll",
"bus": { "@id": "ActorHttpInvalidate:_default_bus" }
}
}
]
}
Config Parameters
bus
: Identifier of the bus to mediate over.