#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

#1889 in Data structures

Download history 35/week @ 2024-02-19 19/week @ 2024-02-26 11/week @ 2024-03-04 15/week @ 2024-03-11

80 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
~63K SLoC