Module @comunica/mediator-all - v4.0.2

Comunica Mediator All

npm version

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.

$ yarn add @comunica/mediator-all

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" }
      }
    }
  ]
}
  • bus: Identifier of the bus to mediate over.

Classes

MediatorAll