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

Add Pool.onQuiescent(Cell) #89

Open
JanKoelzer opened this issue Jan 29, 2018 · 2 comments
Open

Add Pool.onQuiescent(Cell) #89

JanKoelzer opened this issue Jan 29, 2018 · 2 comments

Comments

@JanKoelzer
Copy link
Contributor

pool.onQuiescent(cell) {v => …}

Or maybe use Cell.getResult(): Future[V]? This could return if putFinal has been called but pool is still running.

@JanKoelzer
Copy link
Contributor Author

If the first alternative is used, getResult() could be private.

JanKoelzer added a commit to JanKoelzer/reactive-async that referenced this issue Jan 31, 2018
@JanKoelzer
Copy link
Contributor Author

I have proposed a fix that adds pool.onQuiescent(cell)(callback). But this might interact unpredictably with quiescentResolveCycles, quiescentResolveCell and quiescentResolveDefaults.

That could be a reason to use Cell.getResult(): Future[V]. But: There might be cases, where the future does not get resolved while pool.onQuiescent(cell) does.

JanKoelzer added a commit to JanKoelzer/reactive-async that referenced this issue Mar 7, 2018
JanKoelzer added a commit to JanKoelzer/reactive-async that referenced this issue Mar 30, 2018
JanKoelzer added a commit to JanKoelzer/reactive-async that referenced this issue Mar 30, 2018
JanKoelzer added a commit to JanKoelzer/reactive-async that referenced this issue Mar 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant