RubyGems Navigation menu

concurrently 1.1.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:
=

instalar:
=

Versiones:

  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 las versiones (7 total)

dependencias de Runtime (3):

hitimes ~> 1.2
nio4r ~> 2.1

Propietarios:

Autores:

  • Christopher Aue

SHA 256 checksum:

=

Total de descargas 12.956

Para esta versión 1.950

Versión publicada:

Licencia:

Apache-2.0

Versión de Ruby requerida: >= 2.2.7

Enlace: