TaskPool<T> Struct
Namespace: Cysharp.Threading.Tasks
Assembly: UniTask.dll
public struct TaskPool<T> where T : class, ITaskPoolNode<T>
Type Parameters
T
Members
Properties
| Name | Description |
|---|---|
| Size |
Methods
| Name | Description |
|---|---|
| TryPop(out T) | |
| TryPush(T) |
Properties
Size
public int Size { get; }
Property Value
Methods
TryPop(out T)
public bool TryPop(out T result)
Parameters
resultT
Returns
TryPush(T)
public bool TryPush(T item)
Parameters
itemT