Skip to content

doCommit

This content is not available in your language yet.

doCommit(stub): Commit

The Worker-side commit: routes the plan to its account’s DO. stub(accountId) returns something with commit(plan): Promise<CommitReply> (e.g. env.ACCOUNT.get(env.ACCOUNT.idFromName(id))).

Parameter Type
stub (accountId) => object

Commit