# `Meshcore.Subscription`
[🔗](https://github.com/nyannus/meshcore_ex/blob/v0.1.0/lib/meshcore/subscription.ex#L1)

Handle returned by `Meshcore.subscribe/3`.

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

# `t`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
