I would personally be very scared of writing or reviewing this kind of code. It's inevitable someone
I would personally be very scared of writing or reviewing this kind of code. It's inevitable someone will think the semantics of "running inside the DO" apply here and get incorrect results in the end.
Apart from quick demos and toy projects, just expose a proper RPC and bundle all your actions inside the DO so that you can reason about what's going on.
Apart from quick demos and toy projects, just expose a proper RPC and bundle all your actions inside the DO so that you can reason about what's going on.