Text this: An Arzela-Ascoli type theorem for random functions