2019-05-26 02:29:08 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
module.exports.entity = class module {
|
2019-05-27 04:29:22 -04:00
|
|
|
async Start() {
|
2019-05-26 02:29:08 -04:00
|
|
|
console.log('starting...');
|
|
|
|
|
await new Promise(res => {
|
|
|
|
|
setTimeout(_ => {
|
|
|
|
|
console.log('done');
|
|
|
|
|
res();
|
|
|
|
|
}, 1000);
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|