Typed object pool with two args

Constructor

inlinenew(a1:A1, a2:A2)

Variables

read onlyisDestroy:Bool

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

Methods

destroy():Void

get():T

inlineget_isDestroy():Bool

@:has_untypedret(obj:T):Void