can anyone explain to me who is on the other end of my options spreads?

does my broker package it as a single logical entity for assignment or does it split the buy/write legs and somehow only consider it assigned once both are purchased?

or what?