The inside-out collapse leads to the formation of the forming star in the center of the cloud which then slowly builds up its mass by accreting the outer layers of the cloud.
Even though it takes several millions of years for the cloud to accrete onto the protostar, because the protostars are relatively low mass, it takes even longer to slowly contract and approach starhood.