Typed object pool

Constructor

inlinenew()

Variables

read onlyisDestroy:Bool

@:value([])list:Array<T> = []

Methods

destroy():Void

get():T

inlineget_isDestroy():Bool

@:has_untypedret(obj:T):Void