scottoffen / grapevine

Fast, unopinionated, embeddable, minimalist web framework for .NET
https://scottoffen.github.io/grapevine/
MIT License
103 stars 16 forks source link

Improves performance of IRestServer.Run #43

Closed scottoffen closed 3 years ago

scottoffen commented 3 years ago

Changes the IRestServer.Run() method to use a ManualResetToken, rather than polling for IRestServer.IsListenting every n seconds or running a CPU intensive while (true) { } loop.