Class FindFirstStageFactory

java.lang.Object
io.smallrye.mutiny.streams.stages.FindFirstStageFactory
All Implemented Interfaces:
TerminalStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.FindFirst>

public class FindFirstStageFactory extends Object implements TerminalStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.FindFirst>
Implementation of the Stage.FindFirst stage.
Author:
Clement Escoffier
  • Constructor Details

    • FindFirstStageFactory

      public FindFirstStageFactory()
  • Method Details

    • create

      public <I, O> TerminalStage<I,O> create(Engine engine, org.eclipse.microprofile.reactive.streams.operators.spi.Stage.FindFirst stage)
      Description copied from interface: TerminalStageFactory
      Creates the instance.
      Specified by:
      create in interface TerminalStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.FindFirst>
      Type Parameters:
      I - incoming data
      O - computed result
      Parameters:
      engine - the reactive engine, must not be null
      stage - the stage, must not be null
      Returns:
      the terminal stage, must not be null