ZenohexPico.Subscriber (zenohex_pico v0.1.0-alpha.1)

Copy Markdown

Interface for managing Zenoh subscribers.

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

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

Summary

Types

t()

An opaque native Zenoh Pico subscriber.

Functions

Undeclares a subscriber and stops message delivery.

Types

t()

@type t() :: reference()

An opaque native Zenoh Pico subscriber.

Functions

undeclare(subscriber)

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

Undeclares a subscriber and stops message delivery.

Stops receiving messages and releases resources associated with the subscriber.