-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simple cardano-client subscriber & mux changes (#4979)
* node-to-client: expose connectToWithMux Expose `connectTo` version which accepts a callback that has access to `Mux`. This allows to implement ones own logic for: * starting approriate mini-protocols (one doesn't need to start all of them). * implement ones own restarting policy for `mini-protocols`, without terminating a connection. * ouroboros-network-framework: added ConnectToArgs record * added `ConnectToArgs` * `connectToNode` and friends return the result of the first terminated mini-protocol (or its error) * cardano-client: subscription without subscribtion worker * network-mux: generalised Channel type Provide a `Channel` which can send arbitrary data. This is useful if one wants to test application with or without the multiplexer. For us this simplifies `Ouroboros.Network.Channel` module in the `ouroboros-network-framework` package. * network-mux: added name field to MuxBearer It is used to name various shared stm variables. NOTE: we name them when we `runMux`, not when `newMux` is created. * Updated CHANGELOG.md files
- Loading branch information
Showing
32 changed files
with
772 additions
and
591 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
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
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
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.