Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
KotlinGeekDev committed Feb 14, 2025
2 parents a0a9f29 + b1e12a1 commit b94aec8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ You can include the library in the common source set like this:
```kotlin
dependencies {
implementation("io.github.kotlingeekdev:rhodium:1.0-beta-09")

}
```

Expand Down Expand Up @@ -75,6 +76,7 @@ dependencies {
//...
implementation("com.github.KotlinGeekDev.Rhodium:rhodium:1.0-beta-09")


}

```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class NostrService(

launch {
serviceLogger.d("Coroutine Scope @ ${relay.relayURI}")

try {
client.webSocket(urlString = relay.relayURI) {
send(requestJson)
Expand Down Expand Up @@ -216,6 +217,7 @@ class NostrService(
if (jobs.all { it.isCompleted }) {
serviceLogger.d("EoseCount : ${relayEoseCount.value}")
serviceLogger.d("RelayErrorCount: ${relayErrorCount.value}")

// if (relayEoseCount.value + relayErrorCount.value == endpoints.size){
// stopService()
//
Expand Down
5 changes: 5 additions & 0 deletions rhodium-core/src/linuxMain/kotlin/Entry.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import kotlinx.coroutines.runBlocking

fun main() = runBlocking {
rhodium.main()
}

0 comments on commit b94aec8

Please sign in to comment.