How long does it usually take to recover fully after an arthroscopic procedure?

What is the typical recovery timeline after an arthroscopic procedure, and how long does it usually take for a patient to regain full function and return to normal activities or sports?