Magek Framework
    Preparing search index...

    Class TimeKey

    Time-based unique identifier. It's a string in the form -.

    Hierarchy

    • String
      • TimeKey

    Indexable

    • readonly [index: number]: string
    Index

    Constructors

    Methods

    Constructors

    • Parameters

      • Optionalvalue: any

      Returns TimeKey

    Methods

    • Time-based unique identifier generator

      Parameters

      • moment: number = ...

        Number of milliseconds since epoch for the moment in which the identifier should be generated. It defaults to the current time.

      Returns TimeKey

      A unique identifier in the form "-"