- Spring 5.0 Microservices(Second Edition)
- Rajesh R V
- 70字
- 2021-07-02 19:45:04
Subscriber
Subscriber subscribes to a Publisher for consuming streams of data. It defines a set of callback methods, which will be called upon those events. Complete is when everything is done and success. Note, that all these are callback registrations, and the methods themselves do not respond with any data:
public interface Subscriber<T> {
public void onSubscribe(Subscription s);
public void onNext(T t);
public void onError(Throwable t);
public void onComplete();
}
推薦閱讀
- Dynamics 365 for Finance and Operations Development Cookbook(Fourth Edition)
- Java Web開發學習手冊
- Mastering PHP Design Patterns
- Java程序員面試算法寶典
- React.js Essentials
- Python應用輕松入門
- Linux環境編程:從應用到內核
- Getting Started with SQL Server 2012 Cube Development
- Responsive Web Design by Example
- Haxe Game Development Essentials
- Python深度學習:模型、方法與實現
- C#開發案例精粹
- 深入理解C指針
- 響應式Web設計:HTML5和CSS3實戰(第2版)
- QGIS Python Programming Cookbook(Second Edition)