Skip to content

Commit

Permalink
Simplify default :on-error.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias committed Apr 7, 2015
1 parent e4a0d0a commit 4a9b1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/immutant/web/async.clj
Expand Up @@ -225,7 +225,7 @@
* :on-error - `(fn [throwable] ...)` - Called when an error occurs on the send.
If the error requires the channel to be closed, the [[as-channel]] :on-close
callback will also be invoked. If this callback throws an exception, it will be
reported to the [[as-channel]] :on-error callback [`#(when % (throw %))`]
reported to the [[as-channel]] :on-error callback [`#(throw %)`]
Returns nil if the channel is closed when the send is initiated, true
otherwise. If the channel is already closed, :on-success won't be
Expand Down

0 comments on commit 4a9b1bf

Please sign in to comment.