-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stack: Make
failfast::Gate
general purpose (#2279)
`failfast::Gate` is a stack middleware that supports changing its readiness based on some external signal (the failfast state changing). Nothing about the gate's behavior is specific to failfast, though; and this type of gating is general useful on its own. To setup further reuse, this change moves `stack::failfast::gate` to `stack::gate`. The gate is now tested independently from failfast. Failfast continues to maintain an (optional) `gate::Tx` so that it can control a gate.
- Loading branch information
Showing
6 changed files
with
286 additions
and
168 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 was deleted.
Oops, something went wrong.
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.