-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need a tick-based version of defer_signal
#966
Comments
This has some interesting semantics. Really only correct on a cumulative edge |
It's unclear what semantics we want. On reflection, we actually have two independent settings here:
The current implementation is At least three more possibilities:
Note that the last 2 are not equivalent to any I move that we close this issue as WontFix, and open a design issue for |
Ps: all of these semantics can be implemented with combos of |
|
Concur to close this (for now) |
Closing as WontFix, replace with #1219 |
E.g. I only want to send the most recent result of a fold when I receive a message, not all values of the fold.
With the current
defer_signal
it buffers up all inputs across ticks, so I will print out all the counts1, 2, 3
. If I haddefer_signal::<'tick>
I'd only output the most recent count when a signal arrives.Not sure
defer_signal::<'tick>
is a good name, but I can't think of a better name that encompasses both.The text was updated successfully, but these errors were encountered: