Skip to content

Transponder and Channel refactor

Compare
Choose a tag to compare
@eudaimos eudaimos released this 27 Jun 19:51
· 37 commits to master since this release

0.11.0 (2020-06-27)

Bug Fixes

  • fluent: Channel & Transponder in utils was not returning this for fluent chaining of handlers l (df35d6b)
  • Network: prevent same middleware from being added multiple times (d06913f)

Features

  • Channel: id and cloneId params can now take a function used to generate channel ID (72fb205)
  • Channel: implements elements of Network interface (68164a5)
  • Transponder: Transponder is now composable to other Network implementations to attach promise (ebc2e62), closes #21

BREAKING CHANGES

  • Transponder: Transponder no longer implements Kernel interface of add/remove handlers
  • To get the pre-existing behavior create a Channel and pass that to the Transponder constructor