[dart-sdk] Refactor exposeService api to accept FutureOr<T>

This allows users to wait for asynchronous operations to
finish before initializing and exposing the service.

Also add new exposeServiceProvider api to enable the
ability to proivde a function that will return a service
on connection request.

Tests: Manually running slider_mod and calculating Fib
Change-Id: I6484fbd4ed55dc94bc7c08a718d722dcb15c621a
5 files changed
tree: e1bdcf6fcc280a4940bf8757d34da4ddef25a90a
  1. .cargo/
  2. app/
  3. auth_providers/
  4. bin/
  5. boards/
  6. docs/
  7. examples/
  8. lib/
  9. manifest/
  10. packages/
  11. products/
  12. public/
  13. runtime/
  14. shell/
  15. tests/
  16. tools/
  17. .clang-format
  18. .gitignore
  19. AUTHORS
  20. BUILD.gn
  21. CONTRIBUTING.md
  22. LICENSE
  23. MAINTAINERS
  24. PATENTS
  25. README.md
  26. rustfmt.toml
README.md

Topaz

Topaz augments system functionality by implementing interfaces defined by underlying layers. Topaz contains four major categories of software: modules, agents, shells, and runners.

For example, modules include the dashboard, and runners include the Web, Dart, and Flutter runners.

Removed Components

Looking for something that used to be in this repository? The list below provides a code location and sha that can be used to checkout dead code that has been removed. Please note, the code will most likely be a reference only. It is unlikely the code will build or work correctly. Code can be checked out with:

    git checkout <sha> -- $FUCHSIA_DIR/<location>
  • topaz/app/chat: 9f6c31d2ceb8353f229a9ef6b53ba2386ff31867
  • topaz/app/color: 5a023ccb054104846e3e913951bcc7dc277d2274
  • topaz/app/contacts: 80378fe470817750188707de29237282892a3142
  • topaz/app/image: 5e731a943a907cf960ecfbda1c391958f9093afa