-
Hi
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Armeria services are executed in an event loop which should not be blocked by a blocking operation such as future.whenComplete((res, ex) -> System.out.println(res));
future.get(); You may want to annotate your service with |
Beta Was this translation helpful? Give feedback.
Armeria services are executed in an event loop which should not be blocked by a blocking operation such as
future.get()
.You may want to annotate your service with
@Blocking
to make it work.