Meshcore.Subscription (Meshcore v0.1.0)

Copy Markdown View Source

Handle returned by Meshcore.subscribe/3.

Events are delivered to the subscribed process as {:meshcore, ref, %Meshcore.Event{}}, where ref is subscription.ref.

Summary

Types

t()

@type t() :: %Meshcore.Subscription{mc: GenServer.server(), ref: reference()}