We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9a6ae5 commit 1da0a86Copy full SHA for 1da0a86
client/src/main/java/org/asynchttpclient/AsyncHandler.java
@@ -40,6 +40,10 @@
40
* client.prepareGet("http://...").execute(ah);
41
* </pre></blockquote>
42
* It is recommended to create a new instance instead.
43
+ *
44
+ * Do NOT perform any blocking operation in there, typically trying to send another request and call get() on its future.
45
+ * There's a chance you might end up in a dead lock.
46
+ * If you really to perform blocking operation, executed it in a different dedicated thread pool.
47
*
48
* @param <T> Type of object returned by the {@link java.util.concurrent.Future#get}
49
*/
0 commit comments