Convert remaining connections, connection managers, handlers to use rxjs

Repository details (botten-nappet)
Project page
botten-nappet
Project log category
(195 entries)
Owner
@joelpurra
Contributors
Contributors on Github
Project status
💤 This project is inactive.
📂 This project is open.
🤷 This project is not particularly popular.
Repository activity period
🗓
Commits
209 commits
Stars
5 stars
Commit details (27e75dcb)
Author
Authored at
Committer
Joel Purra
Committed at

Commit message

Convert remaining connections, connection managers, handlers to use rxjs

  • Squashed conversion from event handlers and custom listeners to use reactive programming using rxjs.
  • Introducing generics for the hierarchy of connections and connection managers.
Raw text
Convert remaining connections, connection managers, handlers to use rxjs

- Squashed conversion from event handlers and custom listeners to use reactive programming using rxjs.
- Introducing generics for the hierarchy of connections and connection managers.

Changed files (38)

Path Additions Deletions
index.ts +49 -15
lib/rxios/index.ts +84 -0
lib/rxjs-extensions/async-filter.ts +30 -0
rollup.config.index.js +1 -0
src/storage/manager/user-storage-manager.ts +4 -4
src/twitch/authentication/application-token-manager.ts +23 -15
src/twitch/authentication/polling-application-token-connection.ts +4 -3
src/twitch/authentication/provider-types.ts +26 -0
src/twitch/connection-manager.ts +29 -39
src/twitch/helper/user-helper.ts +3 -2
src/twitch/helper/user-token-helper.ts +4 -2
src/twitch/iconnection.ts +18 -3
src/twitch/irc/handler/follow-reminder.ts +6 -4
src/twitch/irc/handler/greeting.ts +3 -7
src/twitch/irc/handler/logging.ts +2 -2
src/twitch/irc/handler/new-chatter.ts +3 -7
src/twitch/irc/handler/ping.ts +3 -3
src/twitch/irc/handler/subscribing.ts +1 -5
src/twitch/irc/handler/text-response-command.ts +3 -7
src/twitch/irc/iirc-connection.ts +9 -4
src/twitch/irc/irc-connection.ts +45 -276
src/twitch/irc/irc-manager.ts +4 -1
src/twitch/polling/connection/polling-clientid-connection.ts +6 -3
src/twitch/polling/handler/following.ts +12 -3
src/twitch/polling/ipolling-connection.ts +24 -0
src/twitch/polling/polling-connection.ts +212 -144
src/twitch/polling/polling-manager.ts +2 -2
src/twitch/pubsub/handler/logging.ts +10 -22
src/twitch/pubsub/handler/ping.ts +103 -0
src/twitch/pubsub/handler/reconnect.ts +68 -0
src/twitch/pubsub/ipubsub-connection.ts +25 -0
src/twitch/pubsub/ipubsub-response.ts +26 -0
src/twitch/pubsub/pubsub-connection.ts +99 -266
src/twitch/pubsub/pubsub-manager.ts +7 -20
src/twitch/websocket/iwebsocket-command.ts +24 -0
src/twitch/websocket/iwebsocket-connection.ts +28 -0
src/twitch/websocket/websocket-connection.ts +264 -0
src/util/graceful-shutdown-manager.ts +4 -16

Commit categories (3)