Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Clarify distinction between Awakeable and DurablePromise #585

Description

@uosis

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions