Skip to content

Add pooling to AttachExternalCancellationSource #702

@Joy-less

Description

@Joy-less

While IUniTaskSources like DelayPromise use pooling, the sources AttachExternalCancellationSource and AttachExternalCancellationSource<T> don't.

It may be ideal to use pooling for these sources to avoid allocations. In the GDTask port, I attempted to add and fix bugs with pooling to these sources. However, it resulted in bugs which I don't know how to fix.

If it could be implemented correctly in this repository, that would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions