avvio icon indicating copy to clipboard operation
avvio copied to clipboard

Improve documentation

Open delvedor opened this issue 8 years ago • 5 comments

At the moment the documentation is almost complex as the actual code, we should fix that.

delvedor avatar Sep 18 '17 20:09 delvedor

Also for the app.use(func, [opts]): Loads one or more functions asynchronously. The function must have the signature: instance, options, done

Is it an inconsistency or misunderstanding on my part that the asynchronous function does not respect the signature?

async function plugin (server, opts) {} // without done

PS: This is to help me in writing Typescript definitions ^^

poupryc avatar Apr 18 '18 20:04 poupryc

As said the docs can be improved. There is no need for done  with async functions.

mcollina avatar Apr 18 '18 20:04 mcollina

The documentation definitely needs a complete overhaul.

minemax-ua avatar Sep 01 '22 05:09 minemax-ua

Would you like to help?

mcollina avatar Sep 01 '22 08:09 mcollina

Would you like to help?

I prefer to help with something I know very well, so it's rather No.

minemax-ua avatar Sep 01 '22 09:09 minemax-ua