Skip to content

Commit

Permalink
Remove incorrect note about negative timeout not triggering (#10131)
Browse files Browse the repository at this point in the history
* Remove incorrect note about negative timeout not triggering

* fixup! Remove incorrect note about negative timeout not triggering
  • Loading branch information
straight-shoota authored Jan 13, 2021
1 parent 424582e commit f2db625
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/channel.cr
Original file line number Diff line number Diff line change
Expand Up @@ -733,9 +733,6 @@ end
# ```
#
# NOTE: It won't trigger if the `select` has an `else` case (i.e.: a non-blocking select).
#
# NOTE: Using negative amounts will cause the timeout to not trigger.
#
def timeout_select_action(timeout : Time::Span)
Channel::TimeoutAction.new(timeout)
end

0 comments on commit f2db625

Please sign in to comment.