vietj / ceylon-cayla

A web framework for Ceylon
39 stars 8 forks source link

Asynchronous declarative option #9

Open vietj opened 10 years ago

vietj commented 10 years ago

Allow a controller to be marked as asynchronous like:

route("/foo") async shared class MyController() extends Controller() { ... }

the controller would be wrapped by Cayla by a Promise .