SimpleFuture is class that simplifies coarse-grained concurrency using processes instead of threads. Each instance represents the future result of a block that is passed to it. The block is evaluated in a forked child process and its result is returned to the SimpleFuture object. This only works on Ruby implementations that provide Process.fork().
Required Ruby Version
>= 2.2.0
Authors
Chris Reuter
Versions
-
1.0.0
-
source
- 1.0.0 source January 18, 2018 (71 KB)
-
-
1.0.0.pre3
-
source
- 1.0.0.pre3 source January 17, 2018 (71 KB)
-
-
1.0.0.pre2
-
source
- 1.0.0.pre2 source January 17, 2018 (71 KB)
-
-
1.0.0.pre1
-
source
- 1.0.0.pre1 source January 16, 2018 (7.5 KB)
-
-
1.0.0.pre
-
source
- 1.0.0.pre source January 16, 2018 (7.5 KB)
-
Requirements
A version of Ruby that implements Process.fork