Skip to content
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

Limit values for the instances #3

Open
damianc opened this issue Jul 17, 2019 · 0 comments
Open

Limit values for the instances #3

damianc opened this issue Jul 17, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request proposal Proposal of something new
Milestone

Comments

@damianc
Copy link
Owner

damianc commented Jul 17, 2019

For example, one instance can get at most 1 value in a row, then another must do it. Until it is done, the instance cannot get any value.

genA.next();
// 1

genB.next();
// 2

genB.next();
// 2 or Error

genA.next();
// 3

genA.next();
// 3 or Error

genB.next();
// 4

Of curse, it must not be the default behavior. Rather than that, it should be achieved by something like an operator:

genA.group(genB, 'switch') ;
// group, cluster, merge, join or like that
@damianc damianc added the enhancement New feature or request label Jul 17, 2019
@damianc damianc self-assigned this Jul 17, 2019
@damianc damianc added the proposal Proposal of something new label Jul 18, 2019
@damianc damianc added this to the v.2.0 milestone Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request proposal Proposal of something new
Projects
None yet
Development

No branches or pull requests

1 participant