func NewRemoteRelationWatcher(caller base.APICaller, result params.RemoteRelationWatchResult) RemoteRelationWatcher {
	w := &remoteRelationWatcher{
		caller:                  caller,
		logger:                  logger.Child("remoterelations"),
		remoteRelationWatcherId: result.RemoteRelationWatcherId,
		out:                     make(chan params.RemoteRelationChangeEvent),
	}
	w.tomb.Go(func() error {
		return w.loop(result.Changes)
	})
	return w
}
// NewRemoteRelationWatcher returns a RemoteRelationWatcher receiving
// events from the one running on the API server.
NewRemoteRelationWatcher returns a RemoteRelationWatcher receiving
events from the one running on the API server.
// NewRemoteRelationWatcher returns a RemoteRelationWatcher receiving // events from the one running on the API server .
func NewRemoteRelationWatcher(caller base.APICaller, result params.RemoteRelationWatchResult) RemoteRelationWatcher {
	w := &remoteRelationWatcher{
		caller:                  caller,
		logger:                  logger.Child("remoterelations"),
		remoteRelationWatcherId: result.RemoteRelationWatcherId,
		out:                     make(chan params.RemoteRelationChangeEvent),
	}
	w.tomb.Go(func() error {
		return w.loop(result.Changes)
	})
	return w
}
func NewRemoteRelationWatcher ( caller base . APICaller , result params . RemoteRelationWatchResult ) RemoteRelationWatcher { w := & remoteRelationWatcher { caller : caller , logger : logger . Child ( " " ) , remoteRelationWatcherId : result . RemoteRelationWatcherId , out : make ( chan params . RemoteRelationChangeEvent ) , } w . tomb . Go ( func ( ) error { return w . loop ( result . Changes ) } ) return w }
NewRemoteRelationWatcher returns a RemoteRelationWatcher receiving
events from the one running on the API server.
NewRemoteRelationWatcher returns a RemoteRelationWatcher receiving events from the one running on the API server .