Concurrency¶
It is possible to run a function in a separate thread, different from the main one, and get return values from this function. This can be done using the returned_thread module. A minimal example is as follows:
It is possible to run a function in a separate thread, different from the main one, and get return values from this function. This can be done using the returned_thread module. A minimal example is as follows: