Interface Subscription<Topic, Update>

A subscription on a topic. Listen to the 'update' event to receive updates on incoming publications matching the topic.

interface Subscription {
    topic: Topic;
    remove(): void;
}

Type Parameters

Hierarchy

Properties

Methods

Properties

topic: Topic

The topic.

Methods

Generated using TypeDoc