Skip to content

[Feature]: convenient methods for UUID/timestamp/random #218

Closed

Description

@zhongkechen

What would you like?

Create convenient methods in DurableContext to create steps wrapping UUID, timestamp and etc.

  • ctx.uuid() - UUID
  • ctx.now() - current Instant
  • ctx.random() - generate a random number between 0 and 1

Possible Implementation

No response

Is this a breaking change?

No

Does this require an RFC?

No

Additional Context

No response

Activity

  1. changed the title [-][Feature]: convenient methods for UUID/timestamp/etc[/-] [+][Feature]: convenient methods for UUID/timestamp/random[/+] on Mar 16, 2026
  2. added this to the 1.2 May 2026 milestone on Mar 16, 2026
  3. locked and limited conversation to collaborators on Jul 20, 2026
  4. converted this issue into a discussion #545 on Jul 20, 2026
  5. removed this from the 2.1 Jul 2026 milestone on Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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