CapyKit/Documentation/Help/M_CapyKit_Pool_1_GetAvailableItem.md

33 lines
611 B
Markdown
Raw Permalink Normal View History

# GetAvailableItem Method
Gets the first available item from the pool and sets its lock.
## Definition
2024-04-21 03:30:36 -05:00
**Namespace:** <a href="N_CapyKit.md">CapyKit</a>
2024-09-04 19:31:43 -05:00
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2
**C#**
``` C#
public PoolItem<T> GetAvailableItem()
```
**F#**
``` F#
member GetAvailableItem : unit -> PoolItem<'T>
```
#### Return Value
2024-04-21 03:30:36 -05:00
<a href="T_CapyKit_PoolItem_1.md">PoolItem</a>(<a href="T_CapyKit_Pool_1.md">T</a>)
The first available item from the pool.
## See Also
#### Reference
2024-04-21 03:30:36 -05:00
<a href="T_CapyKit_Pool_1.md">Pool(T) Class</a>
<a href="N_CapyKit.md">CapyKit Namespace</a>