TaskPool Class
Namespace: Cysharp.Threading.Tasks
Assembly: UniTask.dll
public static class TaskPool
Members
Methods
| Name | Description |
|---|---|
| GetCacheSizeInfo() | |
| RegisterSizeGetter(Type, Func<int>) | |
| SetMaxPoolSize(int) |
Methods
GetCacheSizeInfo()
public static IEnumerable<(Type, int)> GetCacheSizeInfo()
Returns
- IEnumerable<(Type, int)>
RegisterSizeGetter(Type, Func<int>)
public static void RegisterSizeGetter(Type type, Func<int> getSize)
Parameters
SetMaxPoolSize(int)
public static void SetMaxPoolSize(int maxPoolSize)
Parameters
maxPoolSizeint