All my family members including me, applied for immigration to Canada. I can't just sit and wait for immigration visa, it might never come.

So I applied for a masters degree, fully funded by my university and a third party. My university is certified by ABET and work with some US university. However I don't think they have any relationship with Canadian universities.

My masters should take a year and a half, perhaps longer, since I'm busy, I have full time job and freelance projects. Some people in my country are receiving immigration visas within a year.

What would happen if I receive the immigration visa while I'm doing masters? Can I ask for additional time or would I have to quit and lose the tuition funds? Would I harm my family or postpone their immigration?