politie / sherlock

A reactive programming library for JavaScript applications, built with TypeScript.
Apache License 2.0
39 stars 12 forks source link

Add support for async initialisation (similar to option type) #84

Closed pavadeli closed 6 years ago

pavadeli commented 6 years ago

Closes #58, but built into the main Sherlock library. It turned out that a separate sherlock-async library has more downsides than upsides. The implementation is much simpler this way while having very limited overhead.

Note, this is effectively a rewrite of the derivables (reactors and dependency tracking are mostly untouched).

Docs are tracked in separate issues #86 and #87.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.2%) to 99.735% when pulling 584d8a0024b6742c1f02ce210c2775cf6799487d on option-type into 68dab27f1497cf1c17e8660ba9b70f10036f9e34 on master.