Sha256: ce63cc9559c73448477c11c0164dc0beb695ee6f0a6e6a6d5f3b8a21e4827ba1

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 Bytes

Contents

# BetterThread

```ruby
bt = Better::Thread.new timeout: 3 do
  sleep 5
end

bt.join # joins after 3 seconds

bt.timeout? # true

```
## Installation

Add this line to your application's Gemfile:

```ruby
gem 'better_thread'
```
## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/matti/better-thread

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
better_thread-0.0.1 README.md