that should not be an issue on an ESP8266 beside the point that I would prefer a microcontroller with at least two HW Serials.
Have you already checked the Serial Input Basics - updated which was already posted by @anon57585045?
If you walk through the several examples you will see how reliable it will work.