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:
= 複製 已複製

安裝:
=

版本列表:

  1. 1.2.0 - December 12, 2017 (40.0 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.0 KB)
顯示所有版本(共 7)

Runtime 相依性套件 (3):

hitimes ~> 1.2
nio4r ~> 2.1

擁有者:

作者:

  • Christopher Aue

SHA 256 checksum:

09e06996a3c0fd27f6b902a70eaba72f471b485d8a17da8751ddf2786430e0c8

總下載次數 12,477

這個版本 2,427

License:

Apache-2.0

Ruby 版本需求: >= 2.2.7

相關連結: