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:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  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)
Zeige alle Versionen (7 total)

Runtime Abhängigkeiten (3):

hitimes ~> 1.2
nio4r ~> 2.1

Besitzer:

Autoren:

  • Christopher Aue

SHA 256-Prüfsumme:

09e06996a3c0fd27f6b902a70eaba72f471b485d8a17da8751ddf2786430e0c8

Downloads insgesamt 12.504

Für diese Version 2.436

Lizenz:

Apache-2.0

Erforderliche Ruby-Version: >= 2.2.7

Links: