Dissolving pill only mouth

I took my pill this morning at my usual time but when I put it in my mouth I already had water in there and I felt the pill start to dissolve. I still swallowed it but will it still be just as effective even though it was starting to dissolve?