Syntax
@listens <eventName>
Overview
The @listens
tag indicates that a symbol listens for the specified event. Use the
@event
tag to document the event's content.
Example
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.