Make asyncMethod use requestAnimationFrame if no timeout duration is specified.