{"id":"caveful-games/threadpool","name":"threadpool","scope":"caveful-games","platform":"roblox","description":"Execute the functions in a separate thread, threads are pooled and reused. Credit to lukadev-0/util.luau","version":"0.1.4","latest":"0.1.4","versions":["0.1.2","0.1.3","0.1.4"],"license":"MIT","licenseRating":"safe","licenseCaveats":["The package archive does not include its license text; the license is declared in its manifest metadata."],"licenseVerified":false,"dependencies":{},"integrity":"ed5d7e0b3c6ddc88c7f2d7395f9cb738ae3d088713459fe6709af9999f7f82e4","likes":0,"downloads":0,"install":"forest install caveful-games/threadpool","url":"https://forest.dev/p/roblox/caveful-games/threadpool","files":"https://api.forest.dev/ai/package/roblox/caveful-games/threadpool/files","readme":"# ThreadPool\n별도의 스레드에서 지정된 함수를 실행하게 할 수 있으며 스레드를 풀링하여 재사용가능하게 만듭니다.\n\n# 특징\n- 매우 작고 단순한 모듈이며 `task.spawn`을 스레드를 재사용하여 최적화하여 사용하기에 유용합니다.\n- 원본: [util.luau/threadpool](https://github.com/lukadev-0/util.luau/blob/main/packages/threadpool/init.luau)\n- 원본에서 `pure luau`, `lune` 지원 기능을 제거하였습니다. 덕뿐에 별도의 모듈(std.task)가 필요없어 간소화 되었습니다.\n- 별도의 스레드에서 함수 실행 및 스레드 재사용 지원\n- `CavefulGames/LimeSignal`, `CavefulGames/kitty/kit/rusty`가 의존합니다.\n\n# 사용 예시\n```lua\nThreadPool.spawn(function() -- 스레드풀에 새로운 스레드를 생성 및 실행합니다.\n\t...\nend)\n```\n\n# 설치\n[wally](https://wally.run/package/caveful-games/threadpool?version=0.1.0)\n","readmeTruncated":false}