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.
$ yarn add @comunica/actor-context-preprocess-set-defaults
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"
}
]
}
-
logger
: The logger to set in the context, defaults to the void logger.