Skip to content

bloc-v7.2.0-dev.2

Pre-release
Pre-release

Choose a tag to compare

@felangel felangel released this 09 Sep 22:44
  • BREAKING: refactor!: make onData callback in emit.onEach and emit.forEach named
  • BREAKING: feat!: rename emit.isCanceled to emit.isDone to encapsulate completion and cancelation
  • feat: introduce optional onError in emit.onEach and emit.forEach
  • feat: throw AssertionError when emit is called in a completed EventHandler
  • feat: throw AssertionError when emit.onEach and emit.forEach are unawaited
  • fix: emit.onEach and emit.forEach error propagation when stream emits an error