Update api.md - #992
Conversation
minor improvement in api doc
tofumatt
left a comment
There was a problem hiding this comment.
The instructions to use async/await aren't really appropriate as code comments. They aren't describing the code: they're instructing the developer/reader directly. I'm fine to annotate the promises version a bit more clearly, but let's revert the async/await change 馃槃
|
Thanks for replying. If you copy the Async/Await API doc with I saw that mistake when our colleagues copied those lines to use. But finally, if you think it's not so good, I will revert. |
|
Any news? |
|
As those aren't code comments, I'd prefer they be outside the code. Generally only code inside code blocks should be treated as being able to be copied 馃槃 |
|
I've uncommented that line. Check it again, please |
Minor improvement in API doc