commit | 08ad0db98c910535f710d38f0680de62b699bcfc | [log] [tgz] |
---|---|---|
author | Gabriel Schine <thatguy@google.com> | Wed Jan 02 18:01:39 2019 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Wed Jan 09 17:58:13 2019 +0000 |
tree | 7b8304825aa61c309f47a9a2ebfe2212e7f1edbd | |
parent | 0c943c8b8b2ae366adfde1923afbec060ba531d6 [diff] |
[ledger_client] Add fit::promise<> wrappers for some common Ledger API calls. These wrappers turn various Page and PageSnapshot calls into fit::promise<> equivalents. Where a ledger.Status is returned, an OK status is translated into an ok() result, and any other value is translated into an error() result. TEST=future CLs exercise these methods Change-Id: I556cb1267edad4d0284a16c9e3b07def71837dc2
Peridot is a framework for composed, intelligent and distributed user experiences.
Applications not explicitly designed to interoperate (and possibly implemented in different programming languages) are ephemerally downloaded and dynamically composed to run in a shared context. The framework manages application lifecycle, resources and view hierarchy; and well as context and suggestion infrastructure.
State of Peridot experiences is transparently synchronized across user devices using a distributed offline-first storage system.