UniTask
Show / Hide Table of Contents

TaskPool Class

Namespace: Cysharp.Threading.Tasks
Assembly: UniTask.dll
public static class TaskPool
Inheritance
object → 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
type Type
getSize Func<int>

SetMaxPoolSize(int)

public static void SetMaxPoolSize(int maxPoolSize)
Parameters
maxPoolSize int
Back to top Copyright © Cysharp, Inc. | Generated by DocFX