I work with Julia. IDE is Juno.
If I'm right, @async can generate a task, it's just like a thread.
Therefore, we can do this:
@async begin
Now I need to block the thread. For example, do something1 - click a message in the list, and do something2 - put a message from the same list.
This is similar to synchronized in Java.
what is synchronized in julia?
source share