Subscriptions refactor
-
Use syncz.Subscriptions
-
Use a map for O(1) lookups vs O(n)
-
Add Subscriptions.Len() method
-
Split On() into Subscribe() and Listen()
-
Fix doc and arg name
Relates to #496 (closed).
Use syncz.Subscriptions
Use a map for O(1) lookups vs O(n)
Add Subscriptions.Len() method
Split On() into Subscribe() and Listen()
Fix doc and arg name
Relates to #496 (closed).