function* fetchVmsCdRom ({ vms, current }) {
  yield * foreach(vms, function* (vm) {
    const cdrom = yield fetchVmCdRom({ vmId: vm.id, current })
    yield put(setVmCdRom({ vmId: vm.id, cdrom }))
  })
}
/*
 * For each given VM, first fetch the appropriate __current__ cdrom info, then push the
 * info to VM reducers for the redux store.
 */
For each given VM, first fetch the appropriate __current__ cdrom info, then push the
info to VM reducers for the redux store.
For each given VM first fetch the appropriate __current__ cdrom info then push the info to VM reducers for the redux store .
function* fetchVmsCdRom ({ vms, current }) {
  yield * foreach(vms, function* (vm) {
    const cdrom = yield fetchVmCdRom({ vmId: vm.id, current })
    yield put(setVmCdRom({ vmId: vm.id, cdrom }))
  })
}
function * fetchVmsCdRom ( { vms , current } ) { yield * foreach ( vms , function * ( vm ) { const cdrom = yield fetchVmCdRom ( { vmId : vm . id , current } ) yield put ( setVmCdRom ( { vmId : vm . id , cdrom } ) ) } ) }
For each given VM, first fetch the appropriate __current__ cdrom info, then push the
 info to VM reducers for the redux store.
For each given VM first fetch the appropriate __current__ cdrom info then push the info to VM reducers for the redux store .