Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Comments

Add async route function support#155

Open
s7dhansh wants to merge 1 commit intostubailo:masterfrom
s7dhansh:patch-1
Open

Add async route function support#155
s7dhansh wants to merge 1 commit intostubailo:masterfrom
s7dhansh:patch-1

Conversation

@s7dhansh
Copy link

Add support for

JsonRoutes.add('get', '/v1/asdf/', **async** function(req, res) {});

Works for me, but do tell me if there is a better way to do this.

Add support for
```
JsonRoutes.add('get', '/v1/asdf/', **async** function(req, res) {});
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant