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 = Name, Update extends Event = SyncUpdate<Topic>> {
    topic: Topic;
}

Type Parameters

Hierarchy

Properties

Properties

topic: Topic

The topic.