thunk Koax thunk middleware. Included in Koax to give it thunk support. Installation $ npm install @koax/thunk Middleware function thunk (action, next) { if (isFunction(action)) return toPromise(action) return next() } License MIT