Skip to content

Commit

Permalink
Update docs/src/ReadmeExample.md
Browse files Browse the repository at this point in the history
Co-Authored-By: Bjørn Madsen <[email protected]>
  • Loading branch information
mpilquist and aeons authored Jun 12, 2019
1 parent 1c0f76a commit f5af03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/ReadmeExample.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f5af03e

Please sign in to comment.