func NewNotifyWatcher(caller base.APICaller, result params.NotifyWatchResult) watcher.NotifyWatcher {
	w := &notifyWatcher{
		caller:          caller,
		notifyWatcherId: result.NotifyWatcherId,
		out:             make(chan struct{}),
	}
	w.tomb.Go(w.loop)
	return w
}
// If an API call returns a NotifyWatchResult, you can use this to turn it into
// a local Watcher.
If an API call returns a NotifyWatchResult, you can use this to turn it into
a local Watcher.
// If an API call returns a NotifyWatchResult you can use this to turn it into // a local Watcher .
func NewNotifyWatcher(caller base.APICaller, result params.NotifyWatchResult) watcher.NotifyWatcher {
	w := &notifyWatcher{
		caller:          caller,
		notifyWatcherId: result.NotifyWatcherId,
		out:             make(chan struct{}),
	}
	w.tomb.Go(w.loop)
	return w
}
func NewNotifyWatcher ( caller base . APICaller , result params . NotifyWatchResult ) watcher . NotifyWatcher { w := & notifyWatcher { caller : caller , notifyWatcherId : result . NotifyWatcherId , out : make ( chan struct { } ) , } w . tomb . Go ( w . loop ) return w }
If an API call returns a NotifyWatchResult, you can use this to turn it into
a local Watcher.
If an API call returns a NotifyWatchResult you can use this to turn it into a local Watcher .