Comunica
    Preparing search index...

    Module @comunica/core - v4.1.0

    Comunica Core

    npm version

    The core framework of Comunica, which consists of a actors, buses, and mediators.

    Click here to learn more about this core architecture.

    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/core
    
    • Actor: An actor can act on messages of certain types and provide output of a certain type.
    • Bus: A publish-subscribe bus for sending actions to actors to test whether or not they can run an action.
    • Mediator: A mediator can mediate an action over a bus of actors.
    • ActionObserver: An ActionObserver can passively listen to Actor.run inputs and outputs for all actors on a certain bus.
    • BusIndexed: A bus that indexes identified actors, so that actions with a corresponding identifier can be published more efficiently.
    • Logger: A logger accepts messages from different levels and emits them in a certain way.
    • ActionContext: Implementation of IActionContext using Immutable.js.
    • [TestResult])(https://comunica.github.io/comunica/classes/_comunica_core.TestResult.html): A test result represents the result of an actor test that can either be passed or failed.

    Classes

    ActionContext
    ActionContextKey
    ActionObserver
    Actor
    Bus
    BusIndexed
    Mediator
    TestResultFailed
    TestResultPassed

    Interfaces

    IAction
    IActionObserverArgs
    IActorArgs
    IActorOutput
    IActorReply
    IActorTest
    IBusArgs
    IBusIndexedArgs
    IMediatorArgs

    Type Aliases

    IBus
    IReply
    Mediate
    TestResult

    Variables

    CONTEXT_KEY_LOGGER

    Functions

    failTest
    passTest
    passTestVoid
    passTestVoidWithSideData
    passTestWithSideData