When using different types of sessions, with different states, it's useful to be able to specify the state type of sessions inside a channel (instead of overwriting / extending the interface).
This change allows to pass the session state type in addition to the channel state:
When using different types of sessions, with different
state
s, it's useful to be able to specify thestate
type of sessions inside a channel (instead of overwriting / extending the interface).This change allows to pass the session state type in addition to the channel state: