func NewMigrationStatusWatcher(caller base.APICaller, watcherId string) watcher.MigrationStatusWatcher {
	w := &migrationStatusWatcher{
		caller: caller,
		id:     watcherId,
		out:    make(chan watcher.MigrationStatus),
	}
	w.tomb.Go(w.loop)
	return w
}
// NewMigrationStatusWatcher takes the NotifyWatcherId returns by the
// MigrationSlave.Watch API and returns a watcher which will report
// status changes for any migration of the model associated with the
// API connection.
NewMigrationStatusWatcher takes the NotifyWatcherId returns by the
MigrationSlave.Watch API and returns a watcher which will report
status changes for any migration of the model associated with the
API connection.
// NewMigrationStatusWatcher takes the NotifyWatcherId returns by the // MigrationSlave . Watch API and returns a watcher which will report // status changes for any migration of the model associated with the // API connection .
func NewMigrationStatusWatcher(caller base.APICaller, watcherId string) watcher.MigrationStatusWatcher {
	w := &migrationStatusWatcher{
		caller: caller,
		id:     watcherId,
		out:    make(chan watcher.MigrationStatus),
	}
	w.tomb.Go(w.loop)
	return w
}
func NewMigrationStatusWatcher ( caller base . APICaller , watcherId string ) watcher . MigrationStatusWatcher { w := & migrationStatusWatcher { caller : caller , id : watcherId , out : make ( chan watcher . MigrationStatus ) , } w . tomb . Go ( w . loop ) return w }
NewMigrationStatusWatcher takes the NotifyWatcherId returns by the
MigrationSlave.Watch API and returns a watcher which will report
status changes for any migration of the model associated with the
API connection.
NewMigrationStatusWatcher takes the NotifyWatcherId returns by the MigrationSlave . Watch API and returns a watcher which will report status changes for any migration of the model associated with the API connection .