Module @comunica/actor-merge-bindings-context-union - v4.0.2

Comunica Context Union Merge Binding Factory Actor

npm version

An Merge Bindings Context actor that merges context entry values by taking the set-union. Values are compared using JavaScript's Set equality semantics.

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/actor-merge-bindings-context-union

After installing, this package can be added to your engine's configuration as follows:

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-merge-bindings-context-union/^4.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
   {
      "@id": "urn:comunica:default:merge-bindings-context/actors#source-binding-union",
      "@type": "ActorMergeBindingsContextUnion",
      "contextKey": "@comunica/bus-merge-bindings-context:sourcesBinding"
    }
  ]
}
  • contextKey: The context key name to merge over.

Classes

ActorMergeBindingsContextUnion
SetUnionBindingsContextMergeHandler

Interfaces

IActorMergeBindingsContextUnionArgs