statesIgnoringErrors top-level constant

Set<PhoenixChannelState> const statesIgnoringErrors

A set of States where an error triggered by the parent socket do not end up triggering an error on the channel.

Implementation

const statesIgnoringErrors = {
  PhoenixChannelState.errored,
  PhoenixChannelState.leaving,
  PhoenixChannelState.closed,
};