{"repo":"Cysharp/LogicLooper","free":true,"listed":false,"github":"https://github.com/Cysharp/LogicLooper","clone":"git clone https://github.com/Cysharp/LogicLooper.git","description":"A library for building server application using loop-action programming model on .NET.","language":"C#","stars":283,"topics":["c-sharp","game-engine","dotnet-core"],"license":"MIT","category":"game-templates","readme_excerpt":"LogicLooper 日本語 A library is for building server application using loop-action programming model on .NET. This library focuses on building game servers with server-side logic. For example, if you have the following game loops, the library will provide a way to aggregate and process in a more efficient way than driving with a simple Task . Table of Contents - Installation - Usage - Single-loop application - Multiple-loop application using LooperPool - Integrate with Microsoft.Extensions.Hosting - Metrics - Advanced - Unit tests / Frame-by-Frame execution - Coroutine - TargetFrameRateOverride - Experimental - async-aware loop actions Installation Usage Single-loop application A Looper bound one thread and begin a main-loop. You can register multiple loop actions for the Looper. It's similar to be multiple Update methods called in one frame of the game engine. Multiple-loop application using LooperPool For example, if your server has many cores, it is more efficient running multiple loops. LooperPool provides multiple loopers and facade for using them. Integrate with Microsoft.Extensions.Hosting See samples/LoopHostingApp. Metrics LogicLooper provides metrics using the Metric API. This allows you to obtain the number of LogicLoopers and registered actions, as well as the execution time per loop. To enable metrics collection, install the LogicLooper.Diagnostics package and call AddLogicLooperMetrics . Instrumentation Unit Description --- --- --- LogicLooper.shared pool.loopers {l","default_branch":null,"files":null,"tree":[],"storefront":"/r/Cysharp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Cysharp/LogicLooper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}