commit | 6d00ec84c8dda14ad7c6d5a1925f0463f1398c7e | [log] [tgz] |
---|---|---|
author | Jungho Ahn <jhahn@google.com> | Wed Oct 21 08:46:49 2015 -0700 |
committer | Jungho Ahn <jhahn@google.com> | Wed Oct 21 08:46:49 2015 -0700 |
tree | 00b4a7a3d9a8fd00b5dd8d92badd7e798e29fc4c | |
parent | a6a726ab6a6a7f62a45a7598eb694605780e4fc1 [diff] |
discovery: change Advertise() to return done channel Advertising is stopped when the given context done, but there is no way to know when it is actually stopped. This makes difficult to update the existing advertisement since it should be stopped before advertising a new one. This CL change Advertise() to return done channel which will be closed when it is stopped. MultiPart: 2/3 Change-Id: If88bab34969c5776162f3c89bdc2daa6770af8e6
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.