Skip to content

Support closures as handlers #19

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

Merged
merged 1 commit into from
Dec 1, 2018
Merged

Conversation

srijs
Copy link
Contributor

@srijs srijs commented Nov 30, 2018

Description of changes:
Currently, the Handler type does not permit closures. This is a small refactor that enables the use of closures as handlers.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@davidbarsky davidbarsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thanks!

@davidbarsky
Copy link
Contributor

(Really happy because this should allow us to support Tower's service in a similar way.)

@davidbarsky davidbarsky merged commit ad28790 into awslabs:master Dec 1, 2018
@sapessi sapessi added this to the 0.2 milestone Dec 1, 2018
@sapessi sapessi added the enhancement New feature or request label Dec 1, 2018
@srijs srijs deleted the handler-closures branch December 1, 2018 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants