On Tue Sep 13 13:55:21 2022 +0000, Gabriel Ivăncescu wrote:
Main reason I wrote it that way was to be able to *loop* over it, to wait until all required were called. Order isn't terribly important. I'll try to think of something without duplicating the message loop. Maybe set all as called initially, and then clear the ones to wait for, should do the trick.
I think you could just wait for the event that you expect to be notified last.