Re:The Acton Programming Language
by kll on Monday December 09, 2024 @11:04AM
(#42367443)
Yes, it does affect the local control flow. If you don't assign the return value, then the local actor will proceed execution of the next thing, so effectively async execution of the remote method call. You can also write this explicitly like so:
If you on the other hand want to wait for that remote actor to finish but still not assign locally you can use a dummy variable:
or explicitly ask to await
You can also explicitly ask for async while grabbing the return value, which makes it easy to run things concurrently
[ Parent
| on HN ]
There are no comments on this comment yet.