Skip to content

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

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

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