Skip to content
Permalink
Browse files

Update docs/src/ReadmeExample.md

Co-Authored-By: Bjørn Madsen <bm@aeons.dk>
  • Loading branch information...
mpilquist and aeons committed Jun 12, 2019
1 parent 1c0f76a commit f5af03e0ae10eb80dec5745a6c53e3436141888c
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/src/ReadmeExample.md
@@ -51,7 +51,7 @@ implicit val cs: ContextShift[IO] = IO.contextShift(scala.concurrent.ExecutionCo
// upon finalization, like in the original example.
// See the whole README example for proper resource management in terms of `Blocker`.
val blockingPool = ExecutionContext.fromExecutorService(Executors.newCachedThreadPool())
val blocker: Blocker = Blocker.unsafeFromExecutionContext(blockingPool)
val blocker: Blocker = Blocker.liftExecutionContext(blockingPool)
def fahrenheitToCelsius(f: Double): Double =
(f - 32.0) * (5.0/9.0)

0 comments on commit f5af03e

Please sign in to comment.
You can’t perform that action at this time.