Open heaxo opened 10 months ago
The "subscription" example uses a lower-level API for subscribing to changes, but you are responsible for more "book keeping" (i.e. managing handles). The "monitor" example uses a higher-level (but more opinionated) API which can simplify access but at the cost of less configurability.
I would like to know the difference between examples/subscribe.go and examples/monitor.go, and who should I choose