I want to know whether this sentence is correct:
She came as I had done my homework
According to this, as is used to connect two events that happen at the same time. What I doubt is, the connection between past simple and past perfect with as. I'm not sure why I think it's incorrect, but it just sounds wrong since I've never seen using as in past perfect.
By the way, I make up the sentence. I just want to know if as can be used together with past perfect and past simple.