Error in description of on directive
7.3.5.1.3 The on directive allows the invocation of emit and wait directives when the event that is specified in the on directive occurs (see Section 7.3.10, “Event definitions”).
This should be call, not wait.