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

maitake: public api for reading task status #265

Open
hawkw opened this issue Jul 26, 2022 · 0 comments
Open

maitake: public api for reading task status #265

hawkw opened this issue Jul 26, 2022 · 0 comments
Labels
crate/maitake Related to the `maitake` crate kind/enhancement New feature or request

Comments

@hawkw
Copy link
Owner

hawkw commented Jul 26, 2022

PR #261 adds a JoinHandle type for maitake's tasks. It would be nice if JoinHandles also provided a public way to read a snapshot of a task's status, such as for logging purposes etc.

This could be done by making parts of the State type public.

@hawkw hawkw added the kind/enhancement New feature or request label Jul 26, 2022
@hawkw hawkw added the crate/maitake Related to the `maitake` crate label Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate/maitake Related to the `maitake` crate kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant