Is your feature request related to a problem? Please describe.
Generating deterministic random numbers is tricky at the moment.
Describe the solution you'd like
Provide some common utilities for deterministic random generation in workflow context.
I think mirroring Typescript's current utilities would make sense:
random for number generation
fill for filling a slice
uuid4 for generating a UUID
Additional context
Look at other SDKs for prior art for how of how to construct uuid / Random number from a random seed.
See https://docs.rs/rand/latest/rand/ for an example of common random utilities.
Is your feature request related to a problem? Please describe.
Generating deterministic random numbers is tricky at the moment.
Describe the solution you'd like
Provide some common utilities for deterministic random generation in workflow context.
I think mirroring Typescript's current utilities would make sense:
randomfor number generationfillfor filling a sliceuuid4for generating a UUIDAdditional context
Look at other SDKs for prior art for how of how to construct
uuid/ Random number from a random seed.See https://docs.rs/rand/latest/rand/ for an example of common random utilities.