@comunica/mediator-all
TypeScript icon, indicating that this package has built-in type declarations

3.0.3 • Public • Published

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.

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/^3.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.

Readme

Keywords

Package Sidebar

Install

npm i @comunica/mediator-all

Weekly Downloads

2,542

Version

3.0.3

License

MIT

Unpacked Size

15.1 kB

Total Files

12

Last publish

Collaborators

  • jeswr
  • joachimvh
  • rubensworks
  • rubenverborgh
  • dexagod