-
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(network): refactor + creation of Network, Channel and Source
affects: patois.api, @tao.js/socket.io, @tao.js/utils, @tao.js/core - Network refactors the inniards of Kernel of the handler network so it can be reused - Network has "Control" methods for setting context which allows - sending a control message along when an AC is set - using a forwardAppCtx that will be called when a handler returns an AC - Network has `use` method to add middleware called when an AC is set to "handle" it - Channel allows channeling ACs destined for the channel as when an AC is set from a source of ACs - Source allows setting ACs on the network without them bouncing back to the source
- Loading branch information
Showing
14 changed files
with
789 additions
and
321 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
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
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
Oops, something went wrong.