Interface Subscription<Topic, Update>

A subscription on a topic.

Listen to the 'update' event to receive updates on incoming publications matching the topic. Unsubscribe by disposing the subscription.

interface Subscription<Topic, Update> {
    topic: Topic;
}

Type Parameters

Hierarchy

Properties

Properties

topic: Topic

The topic.