@comunica/actor-merge-bindings-context-union
TypeScript icon, indicating that this package has built-in type declarations

4.0.2 • Public • Published

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.

Install

$ yarn add @comunica/actor-merge-bindings-context-union

Configure

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"
    }
  ]
}

Config Parameters

  • contextKey: The context key name to merge over.

Package Sidebar

Install

npm i @comunica/actor-merge-bindings-context-union

Weekly Downloads

2

Version

4.0.2

License

MIT

Unpacked Size

24.6 kB

Total Files

16

Last publish

Collaborators

  • jeswr
  • joachimvh
  • rubensworks
  • rubenverborgh
  • dexagod