Zenohex.Subscriber (Zenohex v0.7.1)

View Source

Interface for managing Zenoh subscribers via the native layer.

This module provides functions to undeclare subscribers, which stops message receiving and releases associated native resources.

Subscribers are created with Zenohex.Session.declare_subscriber/4.

Summary

Functions

Undeclares the subscriber identified by the given ID.

Types

id()

@type id() :: reference()

Functions

undeclare(id)

@spec undeclare(id()) :: :ok | {:error, reason :: term()}

Undeclares the subscriber identified by the given ID.

Stops receiving messages and releases resources associated with the subscriber.