Mini pill

I forgot to ask my doctor how long the mini pill takes to be effective against pregnancy while breastfeeding. The internet says 2 days. Does anyone know if that's correct?