github fedeAlterio/R3Async v0.0.5

latest releases: v1.0.5, v1.0.4, v1.0.2...
9 months ago

Stateless Subjects

  • StatelessSubject - Forgets completion when all observers unsubscribe
  • StatelessBehaviorSubject - Resets to initial value when all observers unsubscribe

Multicasting Operators

  • Multicast - Share a single subscription using a custom subject
  • Publish - Convenient multicasting with Subject or BehaviorSubject
  • StatelessPublish - Multicasting with StatelessSubjects
  • RefCount - Auto-connect/disconnect based on subscriber count

####Others

  • Finally renamed OnDispose

Stateless subjects solve the common Publish().RefCount() gotcha where completed observables can't be reused (see this StackOverflow discussion). With stateless subjects, the observable automatically resets when all observers unsubscribe, making it truly reusable for multiple subscription cycles.

Don't miss a new R3Async release

NewReleases is sending notifications on new releases.