Object/Class

reactor.core.scala.publisher

Mono

Related Docs: class Mono | package publisher

Permalink

object Mono

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Mono
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def create[T](callback: (MonoSink[T]) ⇒ Unit): Mono[T]

    Permalink
  7. def defer[T](supplier: () ⇒ Mono[T]): Mono[T]

    Permalink
  8. def delay(duration: Duration, timer: Scheduler): Mono[Long]

    Permalink

    Create a Mono which delays an onNext signal by a given duration and completes. If the demand cannot be produced in time, an onError will be signalled instead.

    Create a Mono which delays an onNext signal by a given duration and completes. If the demand cannot be produced in time, an onError will be signalled instead.

    duration

    the Duration of the delay

    timer

    a time-capable Scheduler instance to run on

    returns

    a new Mono

  9. def delay(duration: Duration): Mono[Long]

    Permalink

    Create a Mono which delays an onNext signal of duration of given unit and complete on the global timer.

    Create a Mono which delays an onNext signal of duration of given unit and complete on the global timer. If the demand cannot be produced in time, an onError will be signalled instead. The delay is introduced through the parallel default Scheduler.

    duration

    the duration of the delay

    returns

    a new Mono

  10. def empty[T](source: Publisher[T]): Mono[Unit]

    Permalink

    Create a new Mono that ignores onNext (dropping them) and only react on Completion signal.

    Create a new Mono that ignores onNext (dropping them) and only react on Completion signal.

    T

    the reified Publisher type

    source

    the to ignore

    returns

    a new completable Mono.

  11. def empty[T]: Mono[T]

    Permalink

    Create a Mono that completes without emitting any item.

    Create a Mono that completes without emitting any item.

    T

    the reified Subscriber type

    returns

    a completed Mono

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def error[T](error: Throwable): Mono[T]

    Permalink

    Create a Mono that completes with the specified error immediately after onSubscribe.

    Create a Mono that completes with the specified error immediately after onSubscribe.

    T

    the reified Subscriber type

    error

    the onError signal

    returns

    a failed Mono

  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def from[T](source: Publisher[_ <: T]): Mono[T]

    Permalink

    Expose the specified Publisher with the Mono API, and ensure it will emit 0 or 1 item.

    Expose the specified Publisher with the Mono API, and ensure it will emit 0 or 1 item. The source emitter will be cancelled on the first onNext.

    T

    the source type

    source

    the { @link Publisher} source

    returns

    the next item emitted as a { @link Mono}

  17. def fromCallable[T](supplier: Callable[T]): Mono[T]

    Permalink

    Create a Mono producing the value for the Mono using the given supplier.

    Create a Mono producing the value for the Mono using the given supplier.

    T

    type of the expected value

    supplier

    { @link Callable} that will produce the value

    returns

    A Mono.

  18. def fromDirect[I](source: Publisher[_ <: I]): Mono[I]

    Permalink

    Unchecked cardinality conversion of Publisher as Mono, supporting reactor.core.Fuseable sources.

    Unchecked cardinality conversion of Publisher as Mono, supporting reactor.core.Fuseable sources.

    I

    input upstream type

    source

    the Publisher to wrap

    returns

    a wrapped Mono

  19. def fromFuture[T](future: Future[T])(implicit executionContext: ExecutionContext): Mono[T]

    Permalink

    Create a Mono producing the value for the Mono using the given Future.

    Create a Mono producing the value for the Mono using the given Future.

    T

    type of the expected value

    future

    Future that will produce the value or null to complete immediately

    executionContext

    an implicit ExecutionContext to use

    returns

    A Mono.

  20. def fromRunnable(runnable: Runnable): Mono[Unit]

    Permalink

    Create a Mono only producing a completion signal after using the given runnable.

    Create a Mono only producing a completion signal after using the given runnable.

    runnable

    Runnable that will callback the completion signal

    returns

    A Mono.

  21. def fromSupplier[T](supplier: () ⇒ T): Mono[T]

    Permalink

    Create a Mono producing the value for the Mono using the given supplier.

    Create a Mono producing the value for the Mono using the given supplier.

    T

    type of the expected value

    supplier

    that will produce the value

    returns

    A Mono.

  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. def ignoreElements[T](source: Publisher[T]): Mono[T]

    Permalink

    Create a new Mono that ignores onNext (dropping them) and only react on Completion signal.

    Create a new Mono that ignores onNext (dropping them) and only react on Completion signal.

    T

    the source type of the ignored data

    source

    the to ignore

    returns

    a new completable Mono.

  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def just[T](data: T): Mono[T]

    Permalink

    Create a new Mono that emits the specified item.

    Create a new Mono that emits the specified item.

    T

    the type of the produced item

    data

    the only item to onNext

    returns

    a Mono.

  27. def justOrEmpty[T](data: T): Mono[T]

    Permalink

    Create a new Mono that emits the specified item if non null otherwise only emits onComplete.

    Create a new Mono that emits the specified item if non null otherwise only emits onComplete.

    T

    the type of the produced item

    data

    the item to onNext or onComplete if null

    returns

    a Mono.

  28. def justOrEmpty[T](data: Option[_ <: T]): Mono[T]

    Permalink

    Create a new Mono that emits the specified item if Option.isDefined otherwise only emits onComplete.

    Create a new Mono that emits the specified item if Option.isDefined otherwise only emits onComplete.

    T

    the type of the produced item

    data

    the Option item to onNext or onComplete if not present

    returns

    a Mono.

  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. def never[T]: Mono[T]

    Permalink

    Return a Mono that will never signal any data, error or completion signal.

    Return a Mono that will never signal any data, error or completion signal.

    T

    the Subscriber type target

    returns

    a never completing Mono

  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. def sequenceEqual[T](source1: Publisher[_ <: T], source2: Publisher[_ <: T], isEqual: (T, T) ⇒ Boolean, bufferSize: Int): Mono[Boolean]

    Permalink

    Returns a Mono that emits a Boolean value that indicates whether two Publisher sequences are the same by comparing the items emitted by each Publisher pairwise based on the results of a specified equality function.

    Returns a Mono that emits a Boolean value that indicates whether two Publisher sequences are the same by comparing the items emitted by each Publisher pairwise based on the results of a specified equality function.

    T

    the type of items emitted by each Publisher

    source1

    the first Publisher to compare

    source2

    the second Publisher to compare

    isEqual

    a function used to compare items emitted by each Publisher

    bufferSize

    the number of items to prefetch from the first and second source Publisher

    returns

    a Mono that emits a Boolean value that indicates whether the two Publisher two sequences are the same according to the specified function

  34. def sequenceEqual[T](source1: Publisher[_ <: T], source2: Publisher[_ <: T], isEqual: (T, T) ⇒ Boolean): Mono[Boolean]

    Permalink

    Returns a Mono that emits a Boolean value that indicates whether two Publisher sequences are the same by comparing the items emitted by each Publisher pairwise based on the results of a specified equality function.

    Returns a Mono that emits a Boolean value that indicates whether two Publisher sequences are the same by comparing the items emitted by each Publisher pairwise based on the results of a specified equality function.

    T

    the type of items emitted by each Publisher

    source1

    the first Publisher to compare

    source2

    the second Publisher to compare

    isEqual

    a function used to compare items emitted by each Publisher

    returns

    a Mono that emits a Boolean value that indicates whether the two sequences are the same

  35. def sequenceEqual[T](source1: Publisher[_ <: T], source2: Publisher[_ <: T]): Mono[Boolean]

    Permalink

    Returns a Mono that emits a Boolean value that indicates whether two Publisher sequences are the same by comparing the items emitted by each Publisher pairwise.

    Returns a Mono that emits a Boolean value that indicates whether two Publisher sequences are the same by comparing the items emitted by each Publisher pairwise.

    T

    the type of items emitted by each Publisher

    source1

    the first Publisher to compare

    source2

    the second Publisher to compare

    returns

    a Mono that emits a Boolean value that indicates whether the two sequences are the same

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. def using[T, D](resourceSupplier: () ⇒ D, sourceSupplier: (D) ⇒ Mono[_ <: T], resourceCleanup: (D) ⇒ Unit): Mono[T]

    Permalink

    Uses a resource, generated by a supplier for each individual Subscriber, while streaming the value from a Mono derived from the same resource and makes sure the resource is released if the sequence terminates or the Subscriber cancels.

    Uses a resource, generated by a supplier for each individual Subscriber, while streaming the value from a Mono derived from the same resource and makes sure the resource is released if the sequence terminates or the Subscriber cancels.

    Eager resource cleanup happens just before the source termination and exceptions raised by the cleanup Consumer may override the terminal even.

    T

    emitted type

    D

    resource type

    resourceSupplier

    a function that is called on subscribe to prepare the resource

    sourceSupplier

    a Mono factory derived from the supplied resource

    resourceCleanup

    invoked on completion

    returns

    new Mono

  39. def using[T, D](resourceSupplier: () ⇒ D, sourceSupplier: Function1[D, _ <: Mono[_ <: T]], resourceCleanup: (D) ⇒ Unit, eager: Boolean): Mono[T]

    Permalink

    Uses a resource, generated by a supplier for each individual Subscriber, while streaming the value from a Mono derived from the same resource and makes sure the resource is released if the sequence terminates or the Subscriber cancels.

    Uses a resource, generated by a supplier for each individual Subscriber, while streaming the value from a Mono derived from the same resource and makes sure the resource is released if the sequence terminates or the Subscriber cancels.

    • Eager resource cleanup happens just before the source termination and exceptions raised by the cleanup Consumer may override the terminal even.
    • Non-eager cleanup will drop any exception.

    T

    emitted type

    D

    resource type

    resourceSupplier

    a function that is called on subscribe for preparing the resource

    sourceSupplier

    a Mono factory derived from the supplied resource

    resourceCleanup

    invoked on completion

    eager

    true to clean before terminating downstream subscribers

    returns

    new Mono

  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def when[R](combinator: (Array[Any]) ⇒ R, monos: Mono[Any]*): Mono[R]

    Permalink

    Aggregate given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Aggregate given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled. An error will cause pending results to be cancelled and immediate error emission to the returned Mono.

    R

    the combined result

    combinator

    the function to transform the combined array into an arbitrary object.

    monos

    The monos to use.

    returns

    a Mono.

  44. def when(sources: Publisher[Unit] with MapablePublisher[Unit]*): Mono[Unit]

    Permalink

    Aggregate given void publishers into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Aggregate given void publishers into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled. If any Mono terminates without value, the returned sequence will be terminated immediately and pending results cancelled.

    sources

    The sources to use.

    returns

    a Mono.

  45. def when[R](monos: Iterable[_ <: Mono[Any]], combinator: (Array[Any]) ⇒ R): Mono[R]

    Permalink

    Aggregate given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Aggregate given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled. If any Mono terminates without value, the returned sequence will be terminated immediately and pending results cancelled.

    R

    the combined result

    monos

    The monos to use.

    combinator

    the function to transform the combined array into an arbitrary object.

    returns

    a Mono.

  46. def when(sources: Iterable[_ <: Publisher[Unit] with MapablePublisher[Unit]]): Mono[Unit]

    Permalink

    Aggregate given void publishers into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Aggregate given void publishers into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled. If any Mono terminates without value, the returned sequence will be terminated immediately and pending results cancelled.

    sources

    The sources to use.

    returns

    a Mono.

  47. def when[T1, T2, T3, T4, T5, T6](p1: Mono[_ <: T1], p2: Mono[_ <: T2], p3: Mono[_ <: T3], p4: Mono[_ <: T4], p5: Mono[_ <: T5], p6: Mono[_ <: T6]): Mono[(T1, T2, T3, T4, T5, T6)]

    Permalink

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled. An error will cause pending results to be cancelled and immediate error emission to the returned Mono.

    T1

    type of the value from source1

    T2

    type of the value from source2

    T3

    type of the value from source3

    T4

    type of the value from source4

    T5

    type of the value from source5

    T6

    type of the value from source6

    p1

    The first upstream org.reactivestreams.Publisher to subscribe to.

    p2

    The second upstream org.reactivestreams.Publisher to subscribe to.

    p3

    The third upstream org.reactivestreams.Publisher to subscribe to.

    p4

    The fourth upstream org.reactivestreams.Publisher to subscribe to.

    p5

    The fifth upstream org.reactivestreams.Publisher to subscribe to.

    p6

    The sixth upstream org.reactivestreams.Publisher to subscribe to.

    returns

    a Mono.

  48. def when[T1, T2, T3, T4, T5](p1: Mono[_ <: T1], p2: Mono[_ <: T2], p3: Mono[_ <: T3], p4: Mono[_ <: T4], p5: Mono[_ <: T5]): Mono[(T1, T2, T3, T4, T5)]

    Permalink

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled. An error will cause pending results to be cancelled and immediate error emission to the returned Mono.

    T1

    type of the value from source1

    T2

    type of the value from source2

    T3

    type of the value from source3

    T4

    type of the value from source4

    T5

    type of the value from source5

    p1

    The first upstream org.reactivestreams.Publisher to subscribe to.

    p2

    The second upstream org.reactivestreams.Publisher to subscribe to.

    p3

    The third upstream org.reactivestreams.Publisher to subscribe to.

    p4

    The fourth upstream org.reactivestreams.Publisher to subscribe to.

    p5

    The fifth upstream org.reactivestreams.Publisher to subscribe to.

    returns

    a Mono.

  49. def when[T1, T2, T3, T4](p1: Mono[_ <: T1], p2: Mono[_ <: T2], p3: Mono[_ <: T3], p4: Mono[_ <: T4]): Mono[(T1, T2, T3, T4)]

    Permalink

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled. An error will cause pending results to be cancelled and immediate error emission to the returned Mono.

    T1

    type of the value from source1

    T2

    type of the value from source2

    T3

    type of the value from source3

    T4

    type of the value from source4

    p1

    The first upstream { @link org.reactivestreams.Publisher} to subscribe to.

    p2

    The second upstream { @link org.reactivestreams.Publisher} to subscribe to.

    p3

    The third upstream { @link org.reactivestreams.Publisher} to subscribe to.

    p4

    The fourth upstream { @link org.reactivestreams.Publisher} to subscribe to.

    returns

    a { @link Mono}.

  50. def when[T1, T2, T3](p1: Mono[_ <: T1], p2: Mono[_ <: T2], p3: Mono[_ <: T3]): Mono[(T1, T2, T3)]

    Permalink

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled. An error will cause pending results to be cancelled and immediate error emission to the returned Mono.

    T1

    type of the value from source1

    T2

    type of the value from source2

    T3

    type of the value from source3

    p1

    The first upstream { @link org.reactivestreams.Publisher} to subscribe to.

    p2

    The second upstream { @link org.reactivestreams.Publisher} to subscribe to.

    p3

    The third upstream { @link org.reactivestreams.Publisher} to subscribe to.

    returns

    a { @link Mono}.

  51. def when[T1, T2, O](p1: Mono[_ <: T1], p2: Mono[_ <: T2], combinator: (T1, T2) ⇒ O): Mono[O]

    Permalink

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled. An error will cause pending results to be cancelled and immediate error emission to the returned Mono.

    T1

    type of the value from source1

    T2

    type of the value from source2

    O

    output value

    p1

    The first upstream { @link org.reactivestreams.Publisher} to subscribe to.

    p2

    The second upstream { @link org.reactivestreams.Publisher} to subscribe to.

    combinator

    a scala.Function2 combinator function when both sources complete

    returns

    a Mono.

  52. def when[T1, T2](p1: Mono[_ <: T1], p2: Mono[_ <: T2]): Mono[(T1, T2)]

    Permalink

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled. An error will cause pending results to be cancelled and immediate error emission to the returned Mono.

    T1

    type of the value from source1

    T2

    type of the value from source2

    p1

    The first upstream { @link org.reactivestreams.Publisher} to subscribe to.

    p2

    The second upstream { @link org.reactivestreams.Publisher} to subscribe to.

    returns

    a Mono.

  53. def whenDelayError[R](combinator: (Array[Any]) ⇒ R, monos: Mono[Any]*): Mono[R]

    Permalink

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    R

    the combined result

    combinator

    the function to transform the combined array into an arbitrary object.

    monos

    The monos to use.

    returns

    a combined Mono.

  54. def whenDelayError(sources: Publisher[Unit] with MapablePublisher[Unit]*): Mono[Unit]

    Permalink

    Merge given void publishers into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Merge given void publishers into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    sources

    The sources to use.

    returns

    a Mono.

  55. def whenDelayError[R](monos: Iterable[_ <: Mono[_]], combinator: Function1[Array[Any], _ <: R]): Mono[R]

    Permalink

    Aggregate given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Aggregate given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled. If any Mono terminates without value, the returned sequence will be terminated immediately and pending results cancelled. If several Monos error, the exceptions are combined (suppressed into a combining exception).

    R

    the combined result

    monos

    The monos to use.

    combinator

    the function to transform the combined array into an arbitrary object.

    returns

    a Mono.

  56. def whenDelayError(sources: Iterable[_ <: Publisher[Unit] with MapablePublisher[Unit]]): Mono[Unit]

    Permalink

    Aggregate given void publishers into a new a Mono that will be fulfilled when all of the given sources have been fulfilled.

    Aggregate given void publishers into a new a Mono that will be fulfilled when all of the given sources have been fulfilled. If any Publisher terminates without value, the returned sequence will be terminated immediately and pending results cancelled. If several Publishers error, the exceptions are combined (suppressed into a combining exception).

    sources

    The sources to use.

    returns

    a Mono.

  57. def whenDelayError[T1, T2, T3, T4, T5, T6](p1: Mono[_ <: T1], p2: Mono[_ <: T2], p3: Mono[_ <: T3], p4: Mono[_ <: T4], p5: Mono[_ <: T5], p6: Mono[_ <: T6]): Mono[(T1, T2, T3, T4, T5, T6)]

    Permalink

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    T1

    type of the value from source1

    T2

    type of the value from source2

    T3

    type of the value from source3

    T4

    type of the value from source4

    T5

    type of the value from source5

    T6

    type of the value from source6

    p1

    The first upstream Publisher to subscribe to.

    p2

    The second upstream Publisher to subscribe to.

    p3

    The third upstream Publisher to subscribe to.

    p4

    The fourth upstream Publisher to subscribe to.

    p5

    The fifth upstream Publisher to subscribe to.

    p6

    The sixth upstream Publisher to subscribe to.

    returns

    a Mono.

  58. def whenDelayError[T1, T2, T3, T4, T5](p1: Mono[_ <: T1], p2: Mono[_ <: T2], p3: Mono[_ <: T3], p4: Mono[_ <: T4], p5: Mono[_ <: T5]): Mono[(T1, T2, T3, T4, T5)]

    Permalink

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    T1

    type of the value from source1

    T2

    type of the value from source2

    T3

    type of the value from source3

    T4

    type of the value from source4

    T5

    type of the value from source5

    p1

    The first upstream Publisher to subscribe to.

    p2

    The second upstream Publisher to subscribe to.

    p3

    The third upstream Publisher to subscribe to.

    p4

    The fourth upstream Publisher to subscribe to.

    p5

    The fifth upstream Publisher to subscribe to.

    returns

    a Mono.

  59. def whenDelayError[T1, T2, T3, T4](p1: Mono[_ <: T1], p2: Mono[_ <: T2], p3: Mono[_ <: T3], p4: Mono[_ <: T4]): Mono[(T1, T2, T3, T4)]

    Permalink

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    T1

    type of the value from source1

    T2

    type of the value from source2

    T3

    type of the value from source3

    T4

    type of the value from source4

    p1

    The first upstream Publisher to subscribe to.

    p2

    The second upstream Publisher to subscribe to.

    p3

    The third upstream Publisher to subscribe to.

    p4

    The fourth upstream Publisher to subscribe to.

    returns

    a Mono.

  60. def whenDelayError[T1, T2, T3](p1: Mono[_ <: T1], p2: Mono[_ <: T2], p3: Mono[_ <: T3]): Mono[(T1, T2, T3)]

    Permalink

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    T1

    type of the value from source1

    T2

    type of the value from source2

    T3

    type of the value from source3

    p1

    The first upstream Publisher to subscribe to.

    p2

    The second upstream Publisher to subscribe to.

    p3

    The third upstream Publisher to subscribe to.

    returns

    a Mono.

  61. def whenDelayError[T1, T2](p1: Mono[_ <: T1], p2: Mono[_ <: T2]): Mono[(T1, T2)]

    Permalink

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Merge given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    T1

    type of the value from source1

    T2

    type of the value from source2

    p1

    The first upstream Publisher to subscribe to.

    p2

    The second upstream Publisher to subscribe to.

    returns

    a Mono.

  62. def zip[T, V](combinator: (Array[AnyRef]) ⇒ V, monos: Iterable[Mono[_ <: T]]): Mono[V]

    Permalink

    Aggregate given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Aggregate given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled. If any Mono terminates without value, the returned sequence will be terminated immediately and pending results cancelled.

    T

    The type of the function result.

    V

    The result type

    combinator

    the combinator scala.Function

    monos

    The monos to use.

    returns

    a Mono.

  63. def zip[T, V](combinator: (Array[AnyRef]) ⇒ V, monos: Mono[_ <: T]*): Mono[V]

    Permalink

    Aggregate given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled.

    Aggregate given monos into a new a Mono that will be fulfilled when all of the given Monos have been fulfilled. If any Mono terminates without value, the returned sequence will be terminated immediately and pending results cancelled.

    T

    The super incoming type

    V

    The type of the function result.

    combinator

    the combinator scala.Function

    monos

    The monos to use.

    returns

    a Mono.

Inherited from AnyRef

Inherited from Any

Ungrouped