Y
Hacker News
new
|
ask
|
show
|
jobs
by
HellzStormer
395 days ago
Yes you can, you use a finally clause around your call to yield, as you would already do to handle possible exceptions happening in the block. So no extra consideration is needed.