Documentationcurrent version
Help us improve the docs by fixing typos and proposing enhancements.

Nikita

Metadata "time_start"

The time_start metadata property stores the Unix timestamp at the time when the action is executed.

  • Type: number
  • Read-only

Usage

The value is accessible inside the action handler.

nikita
// Call an action
.call(({metadata: {time_start}}) => {
  // Print timestamp
  console.info(time_start) // 1614763528497
})

See the time_end metadata property for complementary examples.

Edit on GitHub
Navigate
About

Nikita is an open source project hosted on GitHub and developed by Adaltas.