communicator-datetime 1.31.4-preview
Install from the command line:
Learn more about npm packages
$ npm install @dbos-inc/communicator-datetime@1.31.4-preview
Install via package.json:
"@dbos-inc/communicator-datetime": "1.31.4-preview"
About this version
This is a DBOS step for getting the current date / time.
The reason that date retrieval should be wrapped in a @Step
is so that replayed workflows get the recorded value and therefore have the same behavior as the original.
This function returns a Date
object representing the current clock time.
This function returns a number
of milliseconds since January 1, 1970, UTC, in the same manner as new Date().getTime()
.
- For a detailed DBOS Transact tutorial, check out our programming quickstart.
- To learn how to deploy your application to DBOS Cloud, visit our cloud quickstart
- To learn more about DBOS, take a look at our documentation or our source code.
Details
- communicator-datetime
- dbos-inc
- about 1 month ago
- MIT
- 2 dependencies
Assets
- communicator-datetime-1.31.4-preview.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0