- Callbacks are documented in a
@typedef
. - If a parameter contains a callback function, its type should refer to the
@typedef
. - If a parameter refers to a
@typedef
for aFunction
, templates should give it special treatment. (This would probably necessitate adding acallback: true
property to one of the doclets at parse time.)
/**