Skip Navigation

Await Question

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:

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


  

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

6 comments
  • I feel like this could make some sort of memory leak if done too much. Not completely sure.

6 comments