Module @comunica/actor-context-preprocess-set-defaults - v3.0.3

Comunica Set Defaults Context Preprocess Actor

npm version

An Context Preprocess actor that will set default context values for query engines, such as the logger, timestamp, function arguments cache, ...

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-context-preprocess-set-defaults

Configure

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

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-context-preprocess-set-defaults/^1.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:context-preprocess/actors#set-defaults",
      "@type": "ActorContextPreprocessSetDefaults"
    }
  ]
}

Config Parameters

  • logger: The logger to set in the context, defaults to the void logger.

Index

Classes

Interfaces