Skip to content

Mc/add status listener#201

Merged
marcin-cebo merged 7 commits intomasterfrom
mc/addStatusListener
Jul 31, 2025
Merged

Mc/add status listener#201
marcin-cebo merged 7 commits intomasterfrom
mc/addStatusListener

Conversation

@marcin-cebo
Copy link
Contributor

@marcin-cebo marcin-cebo commented Jul 31, 2025

feat: Added new APIs: addConnectionStatusListener, reconnectSubscriptions, disconnectSubscriptions

@pubnub-ops-terraform
Copy link
Contributor

pubnub-ops-terraform commented Jul 31, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@marcin-cebo marcin-cebo force-pushed the mc/addStatusListener branch from 7080b09 to a4a83b5 Compare July 31, 2025 10:13
})

test("should properly disconnect from channel and stop receiving messages with console logs", async () => {
console.log("\n=== Channel Disconnect Test ===")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need console.log statements here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I will remove them.

eventCount++
const statusValue = status.category.value
eventHistory.push(statusValue)
console.log(`[${eventCount}] Status received: ${statusValue}`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same here in this file, why do we need console.log statements in unit tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I will remove them.

@jguz-pubnub
Copy link
Contributor

Use a more descriptive PR title

@marcin-cebo
Copy link
Contributor Author

@pubnub-release-bot release kotlin as 0.15.0

@marcin-cebo marcin-cebo merged commit cd116fd into master Jul 31, 2025
5 of 9 checks passed
@marcin-cebo marcin-cebo deleted the mc/addStatusListener branch July 31, 2025 15:52
@pubnub-release-bot
Copy link
Contributor

🚀 Release successfully completed 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants