dotnet / dotnet/reactive

Feature Request: Make `AsyncGate.LockAsync` cancellable

Open
#2,148 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
7.2k
Forks
798
PR merge metrics
No merged PRs in 30d

Description

The underlying `SemaphoreSlim.WaitAsync` already supports cancellation. Can a parameter be exposed to pass a token down to this line?

https://github.com/dotnet/reactive/blob/5f831de0bc70bc660d21c3b9e04e581269691a2a/AsyncRx.NET/System.Reactive.Async/Threading/AsyncGate.cs#L35

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.