When poll is active respond at
Send pds to 22333

What does the "defer" statement do in Go?

5%
3
provide a way to cause actions to execute when a function ends normally, but not abnormally
78%
47
make sure a programmer has a chance to clean up in what ever way needed when a function ends, for any reason
15%
9
Create a queue of statements to run when a function ends, in the order they are added to the queue
2%
1
establish an emergency execution path in case a goroutine deadlocks
Powered by