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

Multi-push and multi-pop #148

Closed
4 tasks done
wlandau opened this issue Feb 4, 2024 · 1 comment
Closed
4 tasks done

Multi-push and multi-pop #148

wlandau opened this issue Feb 4, 2024 · 1 comment
Assignees

Comments

@wlandau
Copy link
Owner

wlandau commented Feb 4, 2024

Prework

  • Read and agree to the Contributor Code of Conduct and contributing guidelines.
  • If there is already a relevant issue, whether open or closed, comment on the existing thread instead of posting a new issue.
  • New features take time and effort to create, and they take even more effort to maintain. So if the purpose of the feature is to resolve a struggle you are encountering personally, please consider first posting a "trouble" or "other" issue so we can discuss your use case and search for existing solutions first.
  • Format your code according to the tidyverse style guide.

Proposal

controller$map() is blocking, which will make it hard to use with Shiny/promises async programming (#147). Would be nice to have a method like map() which pushes multiple tasks and returns control immediately. Also a multi-pop method to return all available results.

@wlandau
Copy link
Owner Author

wlandau commented Feb 5, 2024

Writing methods walk() and collect() for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant