core-async

souenzzo 2021-03-28T17:51:13.021700Z

ExecutorService has API's like getPoolSize and getTaskCount There is how I get pool-size task-count inside pipeline-async or equivalent?

2021-03-28T17:53:35.021800Z

You cannot

2021-03-28T17:57:14.021900Z

You should be very careful if you are using pipeline-async, it is very easy to make mistakes with

souenzzo 2021-03-28T18:05:53.022Z

If I need things like task-count, should I continue with ExecutorService?

2021-03-28T20:48:17.022100Z

If you are using pipeline-async then you pretty much need an executor somewhere

2021-03-28T20:50:14.022200Z

pipeline-async is basically the pipeline machinery but "run the tasks somewhere else", and that somewhere else is usually going to be some kind of work queue kind of thing

2021-03-28T20:50:44.022300Z

An executor, or some kind nio worker thing, or whatever