• Declares that all workflows started before a given patch have drained and the old code path can be removed. This is a no-op at runtime — it exists purely as a migration signal in source code.

    1. Replace if (await patched('id')) { new } else { old } with deprecatePatch('id'); new.
    2. Deploy and verify.
    3. In a subsequent release, remove both deprecatePatch('id') and the surrounding wrapper, leaving only the new code.

    Parameters

    • _changeId: string

      The change ID being deprecated (unused at runtime).

    Returns void