There is an async feature now that switches the server into async mode. It also provides a utility middleware to make async handlers less painful, plus an example.
The general purpose middleware can all handle 1 and 3 arguments now, this is not tied to any feature.
I also pulled in funcool/promesa for the feature. Programming with callbacks is not fun, promesa is fun AND cool. It says so in the name, right?
While testing I also ran lein ancient a bunch, and I bumped whatever was outdated.
The selmer bump seems to have accidentally fixed #572
closes #571
There is an async feature now that switches the server into async mode. It also provides a utility middleware to make async handlers less painful, plus an example.
The general purpose middleware can all handle 1 and 3 arguments now, this is not tied to any feature.
I also pulled in funcool/promesa for the feature. Programming with callbacks is not fun, promesa is fun AND cool. It says so in the name, right?
While testing I also ran lein ancient a bunch, and I bumped whatever was outdated.
The selmer bump seems to have accidentally fixed #572