/**
 * Functions related to time.
 */ export class Time { param interval return { Promise < any > } static sleep ( interval ) { return new Promise < boolean > ( resolve => { setTimeout ( ( ) => { resolve ( true ) ; } , interval ) ; } ) ; } }