Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@comunica/mediator-combine-pipeline

Package Overview
Dependencies
Maintainers
5
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comunica/mediator-combine-pipeline

A sequential combine mediator

  • 3.0.1-alpha.45.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.4K
decreased by-51.61%
Maintainers
5
Weekly downloads
 
Created
Source

Comunica Mediator Sequential

npm version

A comunica mediator that goes over all actors in sequence and forwards I/O. This requires the action input and the actor output to be of the same type.

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

Configure

After installing, this mediator can be instantiated as follows:

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/mediator-combine-pipeline/^3.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@type": "SomeActor",
      "someMediator": {
        "@id": "#mediatorOptimizeQueryOperation",
        "@type": "MediatorCombinePipeline",
        "bus": { "@id": "ActorOptimizeQueryOperation:_default_bus" }
      }
    }
  ]
}

Config Parameters

  • bus: Identifier of the bus to mediate over.
  • filterErrors: Optional flag to indicate if actors that throw test errors should be filtered out of the pipeline, defaults to false.
  • field: Optional field to use for ordering (if the ordering strategy is chosen). Leave undefined if the test output is a number rather than an object.
  • order: Optional strategy of ordering the pipeline (increasing or decreasing).
    • For choosing to leave the order of the pipeline unchanged, leave this undefined.
    • For choosing to order by increasing values: 'increasing'.
    • For choosing to order by decreasing values: 'decreasing'.

Keywords

FAQs

Package last updated on 20 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc