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!

instalar:
=

Versões:

  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)
Mostrar todas as versões (7)

Runtime Dependencies (3):

hitimes ~> 1.2
nio4r ~> 2.1

Donos:

Autores:

  • Christopher Aue

SHA 256 checksum:

09e06996a3c0fd27f6b902a70eaba72f471b485d8a17da8751ddf2786430e0c8

Total de downloads 12.504

Desta versão 2.436

Licença:

Apache-2.0

Versão Requerida do Ruby: >= 2.2.7

Links: