A class action shall not be dismissed, discontinued, or compromised without the approval of the court. Notice of the proposed dismissal, discontinuance, or compromise shall be given to all members of the class in such manner as the court directs.
N.Y. CPLR R908