Class ScalarSynchronousSingle.ScalarSynchronousSingleAction<T>

  • All Implemented Interfaces:
    Action, Action0, Function
    Enclosing class:
    ScalarSynchronousSingle<T>

    static final class ScalarSynchronousSingle.ScalarSynchronousSingleAction<T>
    extends java.lang.Object
    implements Action0
    Action that emits a single value when called.
    • Field Detail

      • value

        private final T value
    • Constructor Detail

      • ScalarSynchronousSingleAction

        ScalarSynchronousSingleAction​(SingleSubscriber<? super T> subscriber,
                                      T value)
    • Method Detail

      • call

        public void call()
        Specified by:
        call in interface Action0