In reply to timag:
Either you can use try_get() or you can use fork-join_none in function which gets the key and also you can have the logic after getting a key.
In reply to timag:
Either you can use try_get() or you can use fork-join_none in function which gets the key and also you can have the logic after getting a key.