Scorpiion / vane

Server-side framework for Dart/Dartlang with a built-in middleware system.
BSD 3-Clause "New" or "Revised" License
59 stars 11 forks source link

Rename/rethink "async" parameter #10

Open Scorpiion opened 10 years ago

Scorpiion commented 10 years ago

Because of the new draft for async await, it looks like "async" might become a reserved word in Dart. Therefor the name or the way a middleware is defined as async should be revisited.

https://github.com/DartVoid/Vane/blob/master/lib/src/vane.dart#L162 https://www.dartlang.org/docs/spec/Asyncdraft-TC52.pdf