Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/r-unic/flamework-instance-pooling
Classes to pool Roblox instances, UIPool and PartPool included
https://github.com/r-unic/flamework-instance-pooling
Last synced: about 1 month ago
JSON representation
Classes to pool Roblox instances, UIPool and PartPool included
- Host: GitHub
- URL: https://github.com/r-unic/flamework-instance-pooling
- Owner: R-unic
- Created: 2024-12-02T17:36:41.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-12-02T17:57:52.000Z (about 1 month ago)
- Last Synced: 2024-12-02T18:03:22.047Z (about 1 month ago)
- Language: TypeScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @rbxts/flamework-instance-pooling
Classes to pool Roblox instances, UIPool and PartPool included. Pooled instances can return themselves with no reference to the pool.## Example
```ts
const pool = new PartPool(new Instance("Part"), World, 10);
const part = pool.take(new CFrame(0, 5, 0));
task.wait(6);
part.returnToPool();
```