🙂 hey since you have so much experience, curious... for DOs that need an identity, for ex, let's s

🙂

hey since you have so much experience, curious... for DOs that need an identity, for ex, let's say you have a DO per tenant
ctx.DO.getByname(tenantId)

since you can't know the state ahead of time, is this really the only way to call methods on it:
// first, tell it who it is
await stub.init(tenantId)

// then do the work
await stub.doStuff()


or is there some clever way to initialize a worker once, and not have to redo it every time?
Was this page helpful?