Skip to content

Commit

Permalink
docs: fix code formatting in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zachallaun committed Jul 9, 2024
1 parent 01c5c4f commit c64568b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ allows `ReqTelemetry` to emit events both at the very start and very end of the
response pipelines. In this way, you can observe both the total time spent issuing and
processing the request and response, as well as the time spent only with the request adapter.

req = Req.new() |> ReqTelemetry.attach()
```elixir
req = Req.new() |> ReqTelemetry.attach()

req =
Req.new(adapter: &my_adapter/1)
|> ReqSomeOtherThing.attach()
|> ReqTelemetry.attach()
req =
Req.new(adapter: &my_adapter/1)
|> ReqSomeOtherThing.attach()
|> ReqTelemetry.attach()
```

## Events

Expand Down

0 comments on commit c64568b

Please sign in to comment.