twilio-ivr icon indicating copy to clipboard operation
twilio-ivr copied to clipboard

Remove EndState?

Open ethanresnick opened this issue 8 years ago • 1 comments

Pros: simpler type set. See no-end-state branch.

Cons: makes it impossible to distinguish between an async state that is semantically an "end state" and an async state that isn't (i.e., because its async behavior is going to redirect the call eventually), as both can show up as renderable states with no branching.

ethanresnick avatar Nov 01 '16 07:11 ethanresnick

Another option: remove isEndState for now, but add it back later as an optional flag on non-branching renderable states in the future iff it becomes necessary/we attach functionality to the semantic idea of an "end state".

ethanresnick avatar Nov 01 '16 21:11 ethanresnick