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

How to identify each returned Item? #105

Closed
Tracked by #93
JackKelly opened this issue Mar 15, 2024 · 1 comment
Closed
Tracked by #93

How to identify each returned Item? #105

JackKelly opened this issue Mar 15, 2024 · 1 comment

Comments

@JackKelly
Copy link
Owner

JackKelly commented Mar 15, 2024

See issue #26 for a previous version of this idea.

Perhaps we just have a struct Item<T> {output: Output, user_identifier: T}? But how to associate each returned byte_range with the overall GetRanges? Just include an Arc<GetRanges>?

See my latest thoughts about what the user code would look like in this comment.

@JackKelly JackKelly moved this to Todo in light-speed-io Mar 15, 2024
@JackKelly JackKelly changed the title How to identify each returned Item? Perhaps we just have a struct Item<T> {output: Output, user_identifier: T}? But how to associate each returned byte_range with the overall GetRanges? Just include an Arc<GetRanges>? How to identify each returned Item? Mar 15, 2024
@JackKelly
Copy link
Owner Author

@github-project-automation github-project-automation bot moved this from Todo to Done in light-speed-io Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant