Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8e89c2ad authored by Dominik Laskowski's avatar Dominik Laskowski
Browse files

SF: Add promise/future utilities

promise::defer and promise::yield return a deferred future given a
lambda or value, respectively. promise::chain enables composition
of sequential futures.

Bug: 123715322
Bug: 134772048
Test: PromiseTest
Change-Id: Iff81407d60a357d76b5863c4a3a8af7760bd8c33
parent c50b6044
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment