-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Transponder): transponder is now composable to other Network imp…
…lementations to attach promise affects: @tao.js/koa, @tao.js/utils Transponder no longer has its own Channel implementation underneath relying on whatever Network is passed to the constructor. also changed are: - newTransponderId ensures valid positive integer - attach() & detach() methods allow control over Transponder interaction with Network - detach() should be used when the Transponder will be garbage collected - constructor allows a Promise constructor for custom implementations - fixed clone() method - added jsdocs BREAKING CHANGE: 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 ISSUES CLOSED: #21
- Loading branch information
Showing
1 changed file
with
99 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters