Skip to content

communicator-random 1.31.3-preview

Install from the command line:
Learn more about npm packages
$ npm install @dbos-inc/communicator-random@1.31.3-preview
Install via package.json:
"@dbos-inc/communicator-random": "1.31.3-preview"

About this version

DBOS Random Step

This is a DBOS step for generating random numbers.

The reason that random number generation should be wrapped in a @Step is so that replayed workflows get the recorded value and therefore have the same behavior as the original.

Available Functions

random()

random is a wrapper for Math.random() and similarly produces a number in the range from 0 to 1.

Next Steps

Details


Assets

  • communicator-random-1.31.3-preview.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0