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 ?