You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
awaitstep.inlineQuery(async(ctx)=>{
...
});letid;awaitstep.inlineMutation(async(ctx)=>{constdoc=awaitctx.db.get(id);// can reference things in closureid=doc.nextId;// can even set things in closure w/o affecting determinism.awaitctx.db.patch(doc._id,{nextId: null});});
to maintain determinism, we'd journal each operation in a block.
this may interact poorly with transaction size limits -- we may want to find a way to be defensive and throw an error before the workflow mutation hits the global limit.
The text was updated successfully, but these errors were encountered:
to maintain determinism, we'd journal each operation in a block.
this may interact poorly with transaction size limits -- we may want to find a way to be defensive and throw an error before the workflow mutation hits the global limit.
The text was updated successfully, but these errors were encountered: