"Unwraps" a
and runs its inner route after future
completion with the future's value as an extraction of type Future[T]
.Try[T]
"Unwraps" a
and runs its inner route when the future has failed
with the future's failure exception as an extraction of type Future[T]
.Throwable
"Unwraps" a
and runs its inner route when the future has failed
with the future's failure exception as an extraction of type Future[T]
.
If the future succeeds the request is completed using the values marshaller
(This directive therefore requires a marshaller for the futures type to be
implicitly available.)
Throwable
"Unwraps" a
and runs its inner route after future
completion with the future's value as an extraction of type Future[T]
.T
"Unwraps" a
and runs its inner route after future
completion with the future's value as an extraction of type Future[T]
.
If the future fails its failure throwable is bubbled up to the nearest
ExceptionHandler.
If type T
is already an HList it is directly expanded into the respective
number of extractions.
T