Closed
Description
Currently it is only implicit that legal sequences start with onError
or onSubscribe
and end with onComplete
or onError
(or not at all), and it is not regulated within the spec rules that onComplete
is illegal before onSubscribe
.
I see two ways to approach this:
- we leave the protocol sequence definition outside of the spec and add the missing rule about
onComplete
- we make the sequence definition explicit within the rules
The second approach would lead to duplication, since legal sequence grammars are almost perfectly constrained already, so I am leaning towards adding a new rule that orders onComplete
and onSubscribe
.