-
Notifications
You must be signed in to change notification settings - Fork 66
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
A type for execute ahead but consume in order #53
Comments
Thinking about more generalized combinators, we perhaps need a better organization scheme for the combinators used to mix streams together. Currently we have these:
The following independent dimensions are involved when we mix streams:
May be we can design combinators for different dimensions and mix them to create a desired scheme instead of having many canned combinators. |
In fact we need a dual pair of |
An |
This is fixed. |
We can have a hybrid of
SerialT
andCoparallelT
type calledAheadT
. The behavior ofCoparallelT
is to execute a batch of actions at the head of the stream in parallel. The results of these actions may be consumed out of order. The behavior ofAheadT
would be to execute a batch of actions at the head of the stream in parallel (likeCoparallelT
) but consume the results in the same order (likeSerialT
). This means we may execute ahead but maintain the serial order. This is like the concept of readahead or we may call it IOahead. The type combinator for this could beahead
.The text was updated successfully, but these errors were encountered: