await
should not hang the process
#83
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: twc/ludus#83
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two awaits at the end of a process should still let the main process return.
Offending code:
Well, this isn't a bug: the turtles stay alive indefinitely.
But this code should work (with a quick modification to the actor-based turtles):
And yeah, I'm not going to resolve this one tonight, either.
Ah, but this is a limitation in how I wrote the turtle listener: instead of the recursive call coming after every clause in the
receive
form, I put the recursive call unconditionally at the end. So while this is a "bug," it's actually just a (bad?) design decision.So: yeah, closing this out because it's not another bug in await, thankfully.