-
Notifications
You must be signed in to change notification settings - Fork 147
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
Files API Implementation #51
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for sharing this @rylev! Left a bunch of notes below -- also don't forget to go through the checklist :)
So we're in a good minimal place. The following things are left to implement and/or discuss:
|
It should be sufficient to just provide the |
I haven't looked at the updated code yet, but this should be automatic on drop.
I think we can:
|
Wouldn't they have to manually handle all the Closure related stuff? Why not just use |
I was imagining that there would be But yeah I'm not super happy about it, and all the alternatives seem to have different downsides. Alternatives for progress would be:
|
Why can't it be The reason I mentioned |
Oh yeah totally. That's what we should do. |
I've made good progress on the todos above. I need to wait for the Events PR to be merged to finish this out though. @fitzgen I want to provide a |
We should move towards Rust idioms, not JavaScript idioms. Therefore, I do not think we should do the signed-index-with-negative-indexing-from-the-end thing. |
Aims to implement #50
This is still work-in-progress and the discussion on the API proposal is not complete, but I thought the conversation could be enriched through some code.