Method AttemptAsync<T>(Func<CancellationToken, Task<T>>, Action<T>, CancellationToken)

Assembly: redb.Route.dll

Runs one connect bounded by . A connect that has not finished by then
fails with a ; if it still succeeds later, its result goes to
discardLate, which closes it. Errors of the connect propagate; the caller reports
(or lets do it).

public Task<T> AttemptAsync<T>(Func<CancellationToken, Task<T>> connect, Action<T> discardLate, CancellationToken ct)