Thanks, the roadmap looks great.
better abstraction facilities for asynchronous code
I’m guessing this also includes being able to define an actor method in a different file from the actor declaration.
Also, if it’d be possible to have an actor method call another actor method as a helper function but without async
, which changes the atomicity semantics as well as (possibly) the latency.
For example,
actor {
public func foo(): async () {
let tmp = bar();
};
public func bar(): async Nat {
5;
};
};
Also, it’d be helpful to have more guidelines on error handling. Option types, throw, trap… it’s not always that clear to me which to use, even after reading this.