#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

#1998 in Data structures

25 downloads per month
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
~64K SLoC