This is similar to what rivet (1) does, perhaps focusing more on stateless than rivet does
(1) https://www.rivet.dev/docs/actors/