The actor API is async now. When an error occurs in a method like spawn it will first travel the tree to be handled. Meanwhile the await thread.spawn() method will still await the promise to be resolved. We should abort that operation once an error is encountered.
To prevent infinite loops, actors can be configured to ignore the "Aborted" error by default.
The actor API is async now. When an error occurs in a method like
spawn
it will first travel the tree to be handled. Meanwhile theawait thread.spawn()
method will still await the promise to be resolved. We should abort that operation once an error is encountered.To prevent infinite loops, actors can be configured to ignore the "Aborted" error by default.