Queueing theory—a mathematical framework that’s typically used to study, understand, and manage wait times and lines—is usually applied to improve efficiency in settings such as grocery stores, ...