You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a big fan of codo and its documentation options. During my work with CoffeeScript and doco I noticed that I would like to mark functions as asynchronous. Often I write it in the description of a function but it would be much nicer to have a tag for that (like @async). This could be explicitly point out that some methods (or statements) are executed asynchronously and return their results later.
IDEs could later build on that synatx and display a warning to make developers aware of it.
The text was updated successfully, but these errors were encountered:
Nice idea! I agree. Especially because then you could use e.g. @return and @throw and it would be understood that this refers to what the callback gets.
There has been a lot of discussion about a similar feature request in the JSDoc project. Probably worth checking that out before deciding on an approach here.
I am a big fan of codo and its documentation options. During my work with CoffeeScript and doco I noticed that I would like to mark functions as asynchronous. Often I write it in the description of a function but it would be much nicer to have a tag for that (like
@async
). This could be explicitly point out that some methods (or statements) are executed asynchronously and return their results later.IDEs could later build on that synatx and display a warning to make developers aware of it.
The text was updated successfully, but these errors were encountered: