I’m curious what happens if you use await for a signal, but the signal is never received? Does this cause some kind of hangup?

For example if I have a function structured like so:

func foo():
    do something
    await signal.finished
    do something else

And the “finished” signal never comes, does the await call just hang indefinitely?

  • plixelOP
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    I didn’t have access to my computer when I posted this so I was hoping to get some info while I was away from it. Thanks to another commenter, it looks like it has a very minimal impact. Good to know for future reference!