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.
A functional interface similar to Runnable but allows throwing a checked exception.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
Runs the action and optionally throws a checked exception.
-
Method Details
-
run
Runs the action and optionally throws a checked exception.- Throws:
Throwable
- if the implementation wishes to throw any type of exception
-