Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
59 Views

blocking try_put flow graph

Hello

How can I achieve a blocking try_put on a node with a concurrency limiter (or if it's limited by other reasons) ? For instance, if I have a function node with a concurrency limit of 3 tasks and I would like try_put to block (and do work-stealing if needed) until one of the tasks completes and I have an available slot for another task to push. Atm. tasks get queued as many as I can push regardless the limit value or I get 'false' returned by try_put if I use 'rejecting' policy.

Thanks.

0 Kudos
0 Replies