swift: Support watch API

Implements Database.watch, and adds an optional timeout variant of
Stream.next to prevent blocking forever (in the case of a watch
that never recieves an event).

The unit tests are not passing for the onChange event -- something
seems to be broken in Go currently.

Change-Id: I6ab82a54605c5259eaec6fdd77e124e16fcbcb7e
1 file changed
tree: bedf0dcd35479c4904753fbecb4406acd542132d
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.