esl / jerboa

STUN/TURN encoder, decoder and client library in Elixir
https://www.erlang-solutions.com/products/mongooseim.html
Other
14 stars 6 forks source link

Do we need (un)subscribe/3? #103

Open arkgil opened 7 years ago

arkgil commented 7 years ago

When I was implementing receiving of data from relay, I've added functions which allow to subscribe arbitrary process to that data, namely subscribe/3 and unsubscribe/3. Now I'm wondering if those functions are really needed, since each process can easily subscribe itself using subscribe/2.

/cc @rslota @erszcz

arkgil commented 7 years ago

/ping @erszcz @rslota . It would be nice to decide wheter we keep those or not before releasing 0.2.0.