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

Support async routes #602

Closed
wants to merge 2 commits into from
Closed

Support async routes #602

wants to merge 2 commits into from

Conversation

brechtcs
Copy link

This probably shouldn't be merged yet, just opening this PR for feedback/discussion.

In this PR I've implemented (part of) the API I proposed here. After playing around with it a bit I initially got stuck when trying to make my changes work with the synchronous toString API. But then I realized we could just decide not to support toString on async routes and throw an AssertionError when anyone tries it. Thoughts?

@brechtcs
Copy link
Author

Just FYI, I'm running into some timing issues now using this, so definitely not ready for merge.

@brechtcs
Copy link
Author

brechtcs commented Nov 30, 2017

This branch has started to feel a bit too hacky and unstable to me, so unless anyone has some good counterarguments, I think I favour the approach in this new PR.

Gonna close this one for now, if people think this one's better after all we can always reopen.

@brechtcs brechtcs closed this Nov 30, 2017
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

Successfully merging this pull request may close these issues.

1 participant