=htc,doc #18496 make all directive docs have the same style, some

additions
This commit is contained in:
Konrad Malawski 2015-10-09 15:19:36 +02:00
parent bb053bea2a
commit cddb1ade40
103 changed files with 212 additions and 335 deletions

View file

@ -3,9 +3,6 @@
onSuccess
=========
Evaluates its parameter of type ``Future[T]``, and once the ``Future`` has been completed successfully,
extracts its result as a value of type ``T`` and passes it to the inner route.
Signature
---------
@ -14,10 +11,10 @@ Signature
Description
-----------
Evaluates its parameter of type ``Future[T]``, and once the ``Future`` has been completed successfully,
extracts its result as a value of type ``T`` and passes it to the inner route.
The execution of the inner route passed to a onSuccess directive is deferred until the given future
has completed successfully, exposing the future's value as a extraction of type ``T``. If the future
fails its failure throwable is bubbled up to the nearest ``ExceptionHandler``.
If the future fails its failure throwable is bubbled up to the nearest ``ExceptionHandler``.
To handle the ``Failure`` case manually as well, use :ref:`-onComplete-`, instead.