Open
Description
I was looking at https://tc39.github.io/ecma262/#sec-suspend and agents in general and had some questions. (Interchanging signifiers and agents seems to happen elsewhere too.)
- It's unclear what the calling agent is.
- "Assert: W is on the list of waiters in WL." does not make sense since WL contains a list of agents, whereas W is merely a signifier for an agent.
- "suspend W", "W can notify", "If W was notified"; again, W is a signifier, not an agent.
- "If W was notified explicitly by another agent calling NotifyWaiter(WL, W)" isn't this typically handled via state?