JSPM

  • Created
  • Published
  • Downloads 89081
  • Score
    100M100P100Q147350F
  • License MIT

Lightweight, semantic and modular actor framework

Package Exports

  • @comunica/core

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@comunica/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.

Install

$ yarn add @comunica/core

Exported classes

  • 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.