Interface Action

All Known Implementing Classes:
BlockingIgnoringReceiver, FlowableInternalHelper.SubscriberOnComplete, Functions.EmptyAction, Functions.FutureAction, Functions.NotificationOnComplete, ObservableInternalHelper.ObserverOnComplete
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 Action
A functional interface similar to Runnable but allows throwing a checked exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Runs the action and optionally throws a checked exception.
  • Method Details

    • run

      void run() throws Throwable
      Runs the action and optionally throws a checked exception.
      Throws:
      Throwable - if the implementation wishes to throw any type of exception