Skip to content

Commit

Permalink
Updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe committed Sep 17, 2019
1 parent 2f4eeb3 commit 32f9dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/main/tut/publishers/publisher-with-listener.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The server SHOULD implement the mandatory flag.

### Creating a Publisher with Listener

It is simply created by specifying `ExchangeName`, `RoutingKey`, `PublishingFlag` and a listener, i.e. a function from `PublishReturn` to `F[Unit]`. In addition, you need to pass in a `cats.effect.Blocker` since publishing are blocking actions in the underlying Java client:
It is simply created by specifying `ExchangeName`, `RoutingKey`, `PublishingFlag` and a listener, i.e. a function from `PublishReturn` to `F[Unit]`:

```tut:book:silent
import cats.effect._
Expand Down

0 comments on commit 32f9dce

Please sign in to comment.