Skip to content

Files

Latest commit

6e95eb6 · May 18, 2018

History

History
33 lines (21 loc) · 926 Bytes

time.md

File metadata and controls

33 lines (21 loc) · 926 Bytes

time

Utility functions for time/date related stuff

time.formatDuration ⇒ String

Standard duration formatting for listings and details

Kind: static constant of time
Returns: String - Formatted duration

Param Type Description
time Number Time in milliseconds

time.delay(time) ⇒ Promise

Returns a Promise that resolves after the specified delay.

Kind: static method of time

Param Type Description
time Number Delay [ms].