Skip to content

Feature/ton 621 streaming#61

Open
nikdim03 wants to merge 17 commits intomainfrom
feature/ton-621-streaming
Open

Feature/ton 621 streaming#61
nikdim03 wants to merge 17 commits intomainfrom
feature/ton-621-streaming

Conversation

@nikdim03
Copy link
Copy Markdown
Contributor

@nikdim03 nikdim03 commented Apr 8, 2026

No description provided.

streamingBalanceJob = viewModelScope.launch {
try {
val kit = getKit()
kit.streaming().balance(network, address).collect { update ->
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What's the finalization for update here?

}

companion object {
private const val BALANCE_REFRESH_MS = 20_000L
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should not remove balance refresh entirely, we should still recheck balances every X seconds in case we missed streaming update

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.

3 participants