CapyKit/Documentation/Help/M_CapyKit_Pool_1_ReleaseItem.md
2024-09-04 19:31:43 -05:00

837 B

ReleaseItem Method

Releases the lock on the specified item and returns it to the pool.

Definition

Namespace: CapyKit
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.2

C#

public void ReleaseItem(
	PoolItem<T> item
)

F#

member ReleaseItem : 
        item : PoolItem<'T> -> unit 

Parameters

  PoolItem(T)
The item to release.

Remarks

This method sets the Locked flag to false so that it can be retrieved by GetAvailableItem().

See Also

Reference

Pool(T) Class
CapyKit Namespace