Fix documentation error where an asynchronous function was described as having synchronous behaviour.