Skip to content

Commit

Permalink
Fix doc regarding @async_with_timeout attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
fertapric committed Sep 10, 2017
1 parent 44f0e54 commit b1facf7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v0.2.1

### 1. Enhancements

* [async with] Correct documentation regarding `@async_with_timeout` attribute

## v0.2.0

### 1. Enhancements
Expand Down
5 changes: 3 additions & 2 deletions lib/async_with.ex
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ defmodule AsyncWith do
## Timeout attribute
The attribute `@async_with_timeout` can be used to configure the maximum time allowed per
clause. It expects a timeout in milliseconds, with the default value of `5000`.
The attribute `@async_with_timeout` can be used to configure the maximum time allowed to
execute all the clauses. It expects a timeout in milliseconds, with the default value of
`5000`.
defmodule Acme do
use AsyncWith
Expand Down

0 comments on commit b1facf7

Please sign in to comment.