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
{{ message }}
This repository was archived by the owner on Nov 12, 2025. It is now read-only.
It is not clear from the docs what are the differences and intended use cases. As far as I could tell, DurablePromise is just an Awakeable with a static id and only available in workflows.
For example, this SignupWorkflow example seems like it could have just as well been done using Awakeable by passing its id() in addition to secret to the click handler.
Is DurablePromise just minor sugar over Awakeable? Or is there more to it?
It is not clear from the docs what are the differences and intended use cases. As far as I could tell,
DurablePromiseis just anAwakeablewith a static id and only available in workflows.For example, this SignupWorkflow example seems like it could have just as well been done using
Awakeableby passing itsid()in addition to secret to the click handler.Is
DurablePromisejust minor sugar overAwakeable? Or is there more to it?