- All Superinterfaces:
- Enclosing interface:
public static interface Stage.TakeWhile extends StageA take while stage.
predicatemust be invoked on each element consumed. While the predicate returns
true, the element must be emitted, when the predicate returns
false, the element must not be emitted, downstream must be completed and upstream must be cancelled.
predicatemust not be invoked again once it returns
falsefor the first time. Any elements supplied by upstream before it handles the cancellation signal must be dropped.
RuntimeExceptionthrown by the predicate must be propagated downstream as an error, and upstream must be cancelled. Any subsequent elements received from upstream before the cancellation signal is handled must be dropped.
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.microprofile.reactive.streams.operators.spi.Stage
Stage.Cancel, Stage.Collect, Stage.Concat, Stage.Coupled, Stage.Distinct, Stage.DropWhile, Stage.Failed, Stage.Filter, Stage.FindFirst, Stage.FlatMap, Stage.FlatMapCompletionStage, Stage.FlatMapIterable, Stage.FromCompletionStage, Stage.FromCompletionStageNullable, Stage.Limit, Stage.Map, Stage.Of, Stage.OnComplete, Stage.OnError, Stage.OnErrorResume, Stage.OnErrorResumeWith, Stage.OnTerminate, Stage.Peek, Stage.ProcessorStage, Stage.PublisherStage, Stage.Skip, Stage.SubscriberStage, Stage.TakeWhile