@rbxts/flamework-instance-pooling
TypeScript icon, indicating that this package has built-in type declarations

1.1.5 • Public • Published

@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

const pool = new PartPool(new Instance("Part"), World, 10);
const part = pool.take(new CFrame(0, 5, 0));
task.wait(6);
part.returnToPool();

Package Sidebar

Install

npm i @rbxts/flamework-instance-pooling

Weekly Downloads

7

Version

1.1.5

License

ISC

Unpacked Size

12.4 kB

Total Files

10

Last publish

Collaborators

  • runicly