UKismetSystemLibrary::MoveComponentTo Completed

Hello , I have an issue with MoveComponentTo(), but since it’s a latent function I have no idea how to know when the function is finished. I tried things but nothing is working.

void MyFunc::MoveToTarget() {

    FLatentActionInfo LatentInfo;
    LatentInfo.CallbackTarget = this;
    LatentInfo.Linkage = 0;
    LatentInfo.UUID = 0; 
    UKismetSystemLibrary::MoveComponentTo(GetCapsuleComponent(), EndLocation, EndRotation, true, true, 5.0f, true, EMoveComponentAction::Move, LatentInfo);
}

void MyFunc::MoveToTargetFinished() {
    // MoveComponentTo is finished
}

Any idea?