PHP 8.2.31
Preview: cdesc-Timeout.yaml Size: 1.08 KB
//proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Timeout/cdesc-Timeout.yaml

--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: []

comment: 
- !ruby/struct:SM::Flow::H 
  level: 1
  text: Description
- !ruby/struct:SM::Flow::P 
  body: A way of performing a potentially long-running operation in a thread, and terminating it's execution if it hasn't finished within fixed amount of time.
- !ruby/struct:SM::Flow::P 
  body: "Previous versions of timeout didn't use a module for namespace. This version provides both Timeout.timeout, and a backwards-compatible #timeout."
- !ruby/struct:SM::Flow::H 
  level: 1
  text: Synopsis
- !ruby/struct:SM::Flow::VERB 
  body: "  require 'timeout'\n  status = Timeout::timeout(5) {\n    # Something that should be interrupted if it takes too much time...\n  }\n"
constants: 
- !ruby/object:RI::Constant 
  comment: 
  name: THIS_FILE
  value: /\A#{Regexp.quote(__FILE__)}:/o
- !ruby/object:RI::Constant 
  comment: 
  name: CALLER_OFFSET
  value: "((c = caller[0]) && THIS_FILE =~ c) ? 1 : 0"
full_name: Timeout
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: timeout
name: Timeout
superclass: 

Directory Contents

Dirs: 2 × Files: 2

Name Size Perms Modified Actions
Error DIR
- drwxr-xr-x 2024-03-03 22:50:13
Edit Download
- drwxr-xr-x 2024-03-03 22:50:13
Edit Download
1.08 KB lrw-r--r-- 2023-07-26 13:47:54
Edit Download
750 B lrw-r--r-- 2023-07-26 13:47:54
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).