UNPKG

@comunica/bus-rdf-update-hypermedia

Version:

A comunica bus for rdf-update-hypermedia events.

26 lines (15 loc) 1.07 kB
# Comunica Bus RDF Update Hypermedia [![npm version](https://badge.fury.io/js/%40comunica%2Fbus-rdf-update-hypermedia.svg)](https://www.npmjs.com/package/@comunica/bus-rdf-update-hypermedia) A bus for handling a destination based on the extracted metadata. This module is part of the [Comunica framework](https://github.com/comunica/comunica), and should only be used by [developers that want to build their own query engine](https://comunica.dev/docs/modify/). [Click here if you just want to query with Comunica](https://comunica.dev/docs/query/). ## Install ```bash $ yarn add @comunica/bus-rdf-update-hypermedia ``` ## Bus usage * **Context**: `"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-rdf-update-hypermedia/^4.0.0/components/context.jsonld"` * **Bus name**: `ActorRdfUpdateHypermedia:_default_bus` ## Creating actors on this bus Actors extending [`ActorRdfUpdateHypermedia`](https://comunica.github.io/comunica/classes/_comunica_bus_rdf_update_hypermedia.ActorRdfUpdateHypermedia.html) are automatically subscribed to this bus.