We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 334ee18 commit 870c257Copy full SHA for 870c257
README.md
@@ -2,11 +2,10 @@
2
3
Poller is a simple Kotlin library which runs a certain task at a regular interval
4
5
-[//]: # (## Download)
6
-[//]: # ()
7
-[//]: # (```kotlin)
8
-[//]: # (testImplementation("app.cash.turbine:turbine:0.7.0"))
9
-[//]: # (```)
+## Download
+```kotlin
+implementation("dev.mslalith:poller:0.1")
+```
10
11
## Usage
12
@@ -65,8 +64,7 @@ val job = poller.poll {
65
64
66
### Stop Polling
67
68
-Calling `stop` will stop the poll. It takes a `pollBlock` which executes on every poll.<br>
69
-The advantage with this is that your poll logic can be conditional if needed
+Calling `stop` will stop the poll.
70
71
```kotlin
72
poller.stop()
0 commit comments