Homepage    |    GitHub    |    API    |    Wiki    |    FAQ

Joplin uses lots of await statements before synchronous functions . Why so?

I am contributing to joplin for a month . I have seen the joplin code base that it uses await keyword at lot of places before synchronous function . I have opened an issue on this ( link is below ) and made a PR but larent closed my PR on this , said it's not a bug ( I know it's not a bug , I didn't find any category under which this issue will come under ) so I closed this issue too . I am wondering what is use of await keyword before synchronous functions ?

Issue: Uncessary `await` keyword in `noteItem_noteDrop` in `app-desktop` · Issue #5646 · laurent22/joplin · GitHub