Function subscribe

Source
pub fn subscribe<T: AsRef<str>>(
    topic: T,
    handler: ShareableMessageHandler,
    priority: Option<u8>,
)
Expand description

Subscribes the given handler to the topic.