A
Anders Eriksson
Most of my programs is running a sequence, e.g. a list of files, where
in the computing of the file I need to call an async function that will
return directly and the real result is returned using an event handler.
So how do I "wait" the sequence for the event to happen and then
continue with the next item in the sequence?
It feels like this is something that must have been "invented" long ago...
// Anders
in the computing of the file I need to call an async function that will
return directly and the real result is returned using an event handler.
So how do I "wait" the sequence for the event to happen and then
continue with the next item in the sequence?
It feels like this is something that must have been "invented" long ago...
// Anders