TinyBase logoTinyBase β

GetNow

The GetNow type is used to represent a function that returns the current time in milliseconds.

(): number
returnsnumber

This is used internally within the mergeable-store module, but is used for the createMergeableStore function's second optional argument to allow applications to override the clock used to generate timestamps.

Since

v6.1.0