A lot of students believe that applying for a US visa and Canada visa is interrelated. But this is not true at all. If you have already applied for permanent residence in the US and your application is still pending, you can apply for a PR in Canada without any hesitation. An outstanding application in the US Immigration Department can never be a reason for your Canada visa rejection.
The officers cannot decline your visa to Canada if you have the intent to live in the US. In fact, Canada has announced a recent visa to open direct pathways for immigrants to migrate from the US to Canada on a permanent basis.