May 18, 2022
Table of Contents
- Related Links
@listens tag indicates that a symbol listens for the specified event. Use the
@event tag to document the event’s content.
The following example shows how to document an event named
module:hurler~event:snowball, as well as a method named
module:playground/monitor.reportThrowage that listens for the event.