Skip to content

Commit

Permalink
Setting version to 0.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
fthomas committed Oct 5, 2018
1 parent 835f525 commit e48f14f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -20,7 +20,7 @@ import scala.concurrent.ExecutionContext
```
```scala
implicit val timer: Timer[IO] = IO.timer(ExecutionContext.global)
// timer: cats.effect.Timer[cats.effect.IO] = cats.effect.internals.IOTimer@7fa85a55
// timer: cats.effect.Timer[cats.effect.IO] = cats.effect.internals.IOTimer@474619d9

val evenSeconds = Cron.unsafeParse("*/2 * * ? * *")
// evenSeconds: cron4s.expr.CronExpr = */2 * * ? * *
Expand All @@ -32,9 +32,9 @@ val scheduled = awakeEveryCron[IO](evenSeconds) >> printTime
// scheduled: fs2.Stream[[x]cats.effect.IO[x],Unit] = Stream(..)

scheduled.take(3).compile.drain.unsafeRunSync
// 19:54:44.090
// 19:54:46.002
// 19:54:48.004
// 19:36:44.184
// 19:36:46.004
// 19:36:48.004
```

## Using fs2-cron
Expand All @@ -45,7 +45,7 @@ If you're using sbt, add the following to your build:

```sbt
libraryDependencies ++= Seq(
"eu.timepit" %% "fs2-cron-core" % "0.0.9"
"eu.timepit" %% "fs2-cron-core" % "0.0.10"
)
```

Expand Down
2 changes: 1 addition & 1 deletion latestVersion.sbt
@@ -1 +1 @@
latestVersion in ThisBuild := "0.0.9"
latestVersion in ThisBuild := "0.0.10"

0 comments on commit e48f14f

Please sign in to comment.