RubyGems Navigation menu

concurrently 1.2.0

Concurrently is a concurrency framework for Ruby and mruby based on fibers. With it code can be evaluated independently in its own execution context similar to a thread: hello = concurrently do wait 0.2 # seconds "hello" end world = concurrently do wait 0.1 # seconds "world" end puts "#{hello.await_result} #{world.await_result}"

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.2.0 - December 12, 2017 (40 KB)
  2. 1.1.1 - July 15, 2017 (37.5 KB)
  3. 1.1.0 - July 10, 2017 (37.5 KB)
  4. 1.0.1 - June 26, 2017 (32 KB)
Show all versions (7 total)

Runtime Dependencies (3):

hitimes ~> 1.2
nio4r ~> 2.1

Owners:

Authors:

  • Christopher Aue

SHA 256 checksum:

09e06996a3c0fd27f6b902a70eaba72f471b485d8a17da8751ddf2786430e0c8

Total downloads 12,467

For this version 2,423

License:

Apache-2.0

Required Ruby Version: >= 2.2.7

Links: