Package io.reactivex.rxjava3.functions
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run()
Runs the action and optionally throws a checked exception.
-