Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Implement migrate on supplies.
Works on a supply of supplies. Taps the first one that arrives, and passes on its values. When another one arrives, closes the tap on the first and starts passing on values from the second, and so forth. Very useful for preventing race conditions when you have supplies that represent the latest work needed, and want to ignore previous work set in motion (e.g. auto-search text box that does some work to make suggestions).
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 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