aesteve / nubes

Annotation layer on top of Vert.x 3
Apache License 2.0
121 stars 35 forks source link

Handle sync methods #21

Closed aesteve closed 9 years ago

aesteve commented 9 years ago

When a route is very simple calling context.next() every time could be a pain (not to mention users will forget when they don't do async stuff).

So, if the method doesn't declare a RoutingContext parameter, call context.next() programatically once the method has returned.