|
[Obsolete("This method will be deprecated in future versions. Please use the WatchAsync method instead.")] |
I upgraded from 17.0.14 to 19.0.2 and noticed this behaviour.
await foreach (var (type, item) in response.WatchAsync<V1Pod, V1PodList>(onError: e => throw e, cancellationToken: stoppingToken).WithCancellation(stoppingToken))
This does not work, so I tried to follow the instruction of the obsolete tag, but I can't seem to find the correct WatchAsync method.
What am I missing?
csharp/src/KubernetesClient/WatcherExt.cs
Line 76 in 2fff4cb
I upgraded from
17.0.14to19.0.2and noticed this behaviour.This does not work, so I tried to follow the instruction of the obsolete tag, but I can't seem to find the correct WatchAsync method.
What am I missing?