A mediator for a single mediation number value


2741192.2.0a month ago4 years agoMinified + gzip package size for @comunica/mediator-race in KB


Comunica Race Mediator

npm version

A mediator that picks the first actor that resolves its test.

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-race


After installing, this mediator can be instantiated as follows:

  "@context": [
  "actors": [
      "@type": "SomeActor",
      "someMediator": {
        "@id": "#mediatorRdfParseHandle",
        "@type": "MediatorRace",
        "bus": { "@id": "ActorRdfParse:_default_bus" }

Config Parameters

  • bus: Identifier of the bus to mediate over.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.