RxJava的Action

A functional interface similar to Runnable but allows throwing a checked exception.
public interface Action {
/**
* Runs the action and optionally throws a checked exception.
* @throws Exception if the implementation wishes to throw a checked exception
*/
void run() throws Exception;
}
原文地址:https://www.cnblogs.com/jianglijs/p/8327681.html