#values #persistent #async #closures

async_value

Simple, persistent, asynchronous values

10 releases

0.2.7 Feb 11, 2020
0.2.6 Jan 26, 2020
0.2.5 Dec 14, 2019
0.2.4 May 27, 2019
0.1.1 Apr 29, 2019

#114 in #persistent


Used in hunter

WTFPL license

17KB
457 lines

Simple asynchronous values. You provide a closure that computes a value and then either run it synchronously, in a regular thread, or in a thread pool.

Dependencies

~3MB
~66K SLoC