Class OperatorSwitch<T>

    • Field Detail

      • delayError

        final boolean delayError
    • Constructor Detail

      • OperatorSwitch

        OperatorSwitch​(boolean delayError)
    • Method Detail

      • instance

        public static <T> OperatorSwitch<T> instance​(boolean delayError)
        Returns a singleton instance of the operator based on the delayError parameter.
        Type Parameters:
        T - the value type
        Parameters:
        delayError - should the errors of the inner sources delayed until the main sequence completes?
        Returns:
        a singleton instance of this stateless operator.