Helper for constructing a Route from a function literal.
Turns a Route
into an async handler function.
Turns a Route
into a server flow.
Turns a Route
into a server flow.
This conversion is also implicitly available through RouteResult#route2HandlerFlow.
"Seals" a route by wrapping it with exception handling and rejection conversion.