Concurrently is a concurrency framework for Ruby and mruby. With it, concurrent code can be written sequentially similar to async/await. The concurrency primitive of Concurrently is the concurrent proc. It is very similar to a regular proc. Calling a concurrent proc creates a concurrent evaluation which is kind of a lightweight thread: It can wait for stuff without blocking other concurrent evaluations. Under the hood, concurrent procs are evaluated inside fibers. They can wait for readiness of I/O or a period of time (or the result of other concurrent evaluations).

Required Ruby Version

>= 2.2.7

Authors

Christopher Aue

Versions

  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)
Show all versions (7 total)

SHA 256 checksum