- Preparing search index...
- The search index is not available
pgul
- Poolable<TBase>(Base: TBase): {
prototype: __type<any>;
get pooledNum(): number;
checkAvailable(obj: any): boolean;
clearPool(): void;
createInstance(): __type<TBase>;
pick(..._args: any): __type<TBase>;
pool(): void;
new (...args: any[]): __type<TBase>;
} & TBase
-
Returns {
prototype: __type<any>;
get pooledNum(): number;
checkAvailable(obj: any): boolean;
clearPool(): void;
createInstance(): __type<TBase>;
pick(..._args: any): __type<TBase>;
pool(): void;
new (...args: any[]): __type<TBase>;
} & TBase
オブジェクトプーリング機能を付与する
Example