parent
a217d5566e
commit
1a8a438144
6 changed files with 93 additions and 22 deletions
|
|
@ -444,8 +444,8 @@ object Source {
|
|||
* followed by completion.
|
||||
* If the materialized promise is completed with a None, no value will be produced downstream and completion will
|
||||
* be signalled immediately.
|
||||
* If the materialized promise is completed with a failure, then the returned source will terminate with that error.
|
||||
* If the downstream of this source cancels before the promise has been completed, then the promise will be completed
|
||||
* If the materialized promise is completed with a failure, then the source will fail with that error.
|
||||
* If the downstream of this source cancels or fails before the promise has been completed, then the promise will be completed
|
||||
* with None.
|
||||
*/
|
||||
def maybe[T]: Source[T, Promise[Option[T]]] =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue