Lines Matching defs:Timeout
0 # Timeout long-running blocks
6 # status = Timeout::timeout(5) {
12 # Timeout provides a way to auto-terminate a potentially long-running
17 # should prefer Timeout#timeout instead.
24 module Timeout
25 # Raised by Timeout#timeout when the block times out.
43 # in +sec+ seconds. Omitting will use the default, Timeout::Error
48 # Note that this is both a method of module Timeout, so you can <tt>include
49 # Timeout</tt> into your classes so they have a #timeout method, as well as
50 # a module method, so you can call it directly as Timeout.timeout().
92 # Timeout::timeout(n, e, &block).
95 # You should use Timeout#timeout instead.
97 Timeout::timeout(n, e, &block)
100 # Another name for Timeout::Error, defined for backwards compatibility with
102 TimeoutError = Timeout::Error