Updates CommunityPointsChannel class to handle unknown message types in a graceful manner rather than throwing an exception when they won't parse as a RewardRedeemed message.
Updates TwitchPubSub to:
a. Handle access to the _previousRequests in a thread safe manner.
b. Remove previous request from the _previousRequests when they are fulfilled.
c. Implement a pong timer so that disconnections can be detected when no message is returned from a sent ping message.
d. Raise a disconnect event when a reconnect message is received to allow the consuming class to know the connection will be closed and needs to be re-opened.
Updates CommunityPointsChannel class to handle unknown message types in a graceful manner rather than throwing an exception when they won't parse as a RewardRedeemed message.
Updates TwitchPubSub to: a. Handle access to the _previousRequests in a thread safe manner. b. Remove previous request from the _previousRequests when they are fulfilled. c. Implement a pong timer so that disconnections can be detected when no message is returned from a sent ping message. d. Raise a disconnect event when a reconnect message is received to allow the consuming class to know the connection will be closed and needs to be re-opened.