11 ms·
In event driven programs there are often events that can arrive at any moment; for example in networking the connection might have been closed by the peer, or i
by MichaelMoser123 13y ago
In event driven programs there are often events that can arrive at any moment; for example in networking the connection might have been closed by the peer, or in a GUI the user might chose to alter parameters by means of option dialog.
So with await you may need to write a wrapper around await, the wrapper function will check for common events that can arrive at any moment.