Let’s say I dispatch works to workers via channels, and the dispatcher needs to keep notifying the sender how many jobs are scheduled before job X at each time.
Is it possible to know the message position (e.g. by examining an ID) with buffered channels or does this require another type of queue?