A microservice is a single self-contained unit which, together with many others, makes up a large application. By splitting your app into small units every part of it is independently deployable and scalable, can be written by different teams and in different programming languages and can be tested individually. — Max Stoiber
Our function has the keyword
async before it. The
await keyword can only be used inside functions defined with
async function returns a promise implicitly, and the resolve value of the promise will be whatever you
return from the function (which is the string
"done" in our case).