Interface PublisherStageFactory<T extends org.eclipse.microprofile.reactive.streams.operators.spi.Stage>

All Known Implementing Classes:
ConcatStageFactory, FailedPublisherStageFactory, FromCompletionStageFactory, FromCompletionStageNullableFactory, FromIterableStageFactory, FromPublisherStageFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PublisherStageFactory<T extends org.eclipse.microprofile.reactive.streams.operators.spi.Stage>
Factory to create PublisherStage instances.
Author:
Clement Escoffier
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Engine engine, T stage)
    Creates the instance.
  • Method Details

    • create

      <O> PublisherStage<O> create(Engine engine, T stage)
      Creates the instance.
      Type Parameters:
      O - output data
      Parameters:
      engine - the reactive engine
      stage - the stage
      Returns:
      the created processing stage, should never be null