[🐴] Integrate event bus (#3915)

* Integrate event bus

* Fixes

* Move events mgmt into Convo class

* Clean up poll interval updates

* Remove unused

* Remove annoying log
This commit is contained in:
Eric Bailey
2024-05-08 18:01:07 -05:00
committed by GitHub
parent ce2eddca8e
commit 3bac0182b5
5 changed files with 120 additions and 126 deletions
+9 -1
View File
@@ -347,7 +347,15 @@ export class MessagesEventBus {
this.isPolling = true
logger.debug(`${LOGGER_CONTEXT}: poll`, {}, logger.DebugContext.convo)
// logger.debug(
// `${LOGGER_CONTEXT}: poll`,
// {
// requestedPollIntervals: Array.from(
// this.requestedPollIntervals.values(),
// ),
// },
// logger.DebugContext.convo,
// )
try {
const response = await this.agent.api.chat.bsky.convo.getLog(