thunkMiddleware

Consumes every thunk and executes it. If action is a CoThunk, it is executed in a foreground coroutine.