Skip to content

Commit 870c257

Browse files
author
mslalith
committed
update README.md
1 parent 334ee18 commit 870c257

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
Poller is a simple Kotlin library which runs a certain task at a regular interval
44

5-
[//]: # (## Download)
6-
[//]: # ()
7-
[//]: # (```kotlin)
8-
[//]: # (testImplementation("app.cash.turbine:turbine:0.7.0"))
9-
[//]: # (```)
5+
## Download
6+
```kotlin
7+
implementation("dev.mslalith:poller:0.1")
8+
```
109

1110
## Usage
1211

@@ -65,8 +64,7 @@ val job = poller.poll {
6564

6665
### Stop Polling
6766

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
67+
Calling `stop` will stop the poll.
7068

7169
```kotlin
7270
poller.stop()

0 commit comments

Comments
 (0)