Closed the-world-wang closed 6 years ago
I am not really sure what the question is here. What kind of support do you need?
I mean can I get some variable from context(maybe ThreadLocal) in callback?
ea-async doesn't have any impact on threading, it's just like using .thenRun
or .thenAccept
etc on the CompletableFuture so the threads will never change unless you explicitly request it. As such this should just work.
code like this logged during callback ? or some good suggestion?