Join Slack
Powered by
restTemplate is blocking, so method calling it sho...
# coroutines
a
aaverin
08/10/2017, 2:58 PM
restTemplate is blocking, so method calling it should be in another thread. Spring does that via method annotation
@Async
, so I assumed wrapping whole method in coroutine
async(CommonPool) {}
will do the same
Open in Slack
Previous
Next