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 校验和:

=

下载总量 12,947

这个版本 2,591

版本发布:

许可:

Apache-2.0

需要的 Ruby 版本: >= 2.2.7

链接: