I'm not convinced these adapters I'm trying to wri...
# arrow
b
I'm not convinced these adapters I'm trying to write are the right way to go about doing this. @pakoito @raulraja @simon.vergauwen thoughts on transforming
Route.get(path: String, body: suspend PipelineContext<Unit, ApplicationCall>.(Unit) -> Unit): Route
from something more like
Route.get(path: String, body: Async<F>.(ApplicationCall) -> Kind<F, Unit>): Route
? I keep running into issues where trying to just transform the second argument from
Async
to
PipelineContext
cannot resolve
.fix().suspended()
to end up with
suspend () -> Unit
r
do you have a small code snippet that illustrates the issue?