#async #value #persistent #simple #closure #thread-pool

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
Download history 66/week @ 2020-10-30 58/week @ 2020-11-06 52/week @ 2020-11-13 37/week @ 2020-11-20 41/week @ 2020-11-27 54/week @ 2020-12-04 53/week @ 2020-12-11 79/week @ 2020-12-18 92/week @ 2020-12-25 81/week @ 2021-01-01 65/week @ 2021-01-08 59/week @ 2021-01-15 85/week @ 2021-01-22 65/week @ 2021-01-29 67/week @ 2021-02-05 59/week @ 2021-02-12

244 downloads per month
Used in hunter

WTFPL license

16KB
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

~1.7–2.3MB
~48K SLoC