vitaly-t / sub-events

Lightweight, strongly-typed events, with monitored subscriptions.
https://vitaly-t.github.io/sub-events
MIT License
38 stars 2 forks source link

Add reusable EventConsumer #24

Closed vitaly-t closed 4 years ago

vitaly-t commented 4 years ago

Add a reusable EventConsumer class, to simplify exposing read-only events, i.e. events for which which a consumer can only subscribe, but cannot emit data or cancel other subscriptions.

vitaly-t commented 4 years ago

Implemented and released in v1.7.0.