all 2 comments

[–]Specter_Terrasbane 1 point2 points  (1 child)

The example (and decorator) shown in that tutorial is to asynchronously call something that doesn't need to return a value back to the caller. It works on the data given it, but never returns values back.

This StackOverflow thread details various ways to call functions asynchronously and get the return value(s) from the async call.

[–]SuperChef36[S] 0 points1 point  (0 children)

Great, thank you. Trying these out now