Add logs and unload listener

This commit is contained in:
Jaiwanth 2021-06-08 12:36:28 +05:30
parent 0f06f1b9c4
commit 9e298e9f45
3 changed files with 25 additions and 4 deletions

View file

@ -26,8 +26,8 @@ export default abstract class Exporter {
// Clone and reverse the events so that we preserve the order
arrayFastClone(events)
.reverse()
.forEach(event => {
cli.decryptEventIfNeeded(event);
.forEach(async (event) => {
await cli.decryptEventIfNeeded(event);
});
return events;