SubscribeSyncStatus creates a subscription that will broadcast new synchronisation updates. The given channel must receive interface values, the result can either
(status chan interface{})
| 161 | // SubscribeSyncStatus creates a subscription that will broadcast new synchronisation updates. |
| 162 | // The given channel must receive interface values, the result can either |
| 163 | func (api *PublicDownloaderAPI) SubscribeSyncStatus(status chan interface{}) *SyncStatusSubscription { |
| 164 | api.installSyncSubscription <- status |
| 165 | return &SyncStatusSubscription{api: api, c: status} |
| 166 | } |