Skip to content

[Feature Request] Add memoization support to thepatched() API #1616

@mjameswh

Description

@mjameswh

Describe the solution you'd like

In short:

  • Add a memoized argument to the patched and deprecatePatch APIs.

  • Keep backward compatibility on those functions for non-specifying the memoized argument, but deprecate those signatures. Make sure documentation clearly indicate how existing calls may safely get converted.

  • Delegate handling of the patched logic to Core.

See temporalio/features#591 for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions