Skip to content
Failed

Changes

Summary

  1. Add basic reactive RestAction operators (#1168) (commit: 52491a9) (details)
Commit 52491a972e8bbcec09a743a78c9b85072c1179e5 by noreply
Add basic reactive RestAction operators (#1168)

* Add some reactive style operators to RestAction
* Improve example for MessageChannel#getIterableHistory
* Properly pass stack context through operators
* Add operators to readme and add since tags
* Use flatMap operator in example
* Improve examples for User#openPrivateChannel
(commit: 52491a9)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/Request.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/operator/DelayRestAction.java
The file was modifiedsrc/examples/java/MessageListenerExample.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/User.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/exceptions/ContextException.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/operator/MapRestAction.java
The file was addedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/operator/RestActionOperator.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/MessageChannel.java (diff)
The file was modifiedREADME.md (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/operator/FlatMapRestAction.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/RestAction.java (diff)