Sorry for the noob question, I did poke around but couldn't find anything specific (might not have really known where to look exactly).
Anyway, I am writing my first node, and it looks like I basically create a module and export a function that takes an object as an argument.
I don't know what s expected from that function:
- What can/should it return?
- Can it return a promise?
- (and I guess related to #2) can the function be an async function?
Thanks in advance, just getting started here...
Thanks in advance! (and again, sorry for the noon question)