How does Serial.readString() manage the serial buffer?

I see there are serial methods of controlling how the buffer is read, thanks for the resources.

I’m still curious how serial.readString() knows when to terminate the string? Having a function which recognizes the end of a character stream sounds useful but I want to know how that works. Does it rely on a delay after the serial stream? If so how much is the delay?