July 23, 2026, 1:55pm 1
Is there yet a std lib way of polling if a future is complete without having to do a blocking Io.Future(type).wait()?
Also, I am aware of the atomic flag checking before it could be brought into the play here. (Was just wondering if I am missing something obvious here.)
pasta July 23, 2026, 2:48pm 2
AFAICT no, not directly, but passing in an Event and just doing a defer set() at the top will probably do what you need.
What problem are you trying to solve? Might be something better that can be suggested.
0 Comments
Log in to join the conversation.No comments yet. Be the first to share your thoughts.