/
aprogrammer
/
reverse-proxy-ms-yarp
Обзор
Документация
Войти
/
aprogrammer
/
reverse-proxy-ms-yarp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Kubernetes.Controller/Client/IResourceInformerRegistration.cs
24 строки
1 KB
Thomas Carlier
Typos (#2547)
23 июл 2024, 20:30
Не верифицирован
23 июл 2024, 20:30
cb0cdec
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Threading; using System.Threading.Tasks; namespace Yarp.Kubernetes.Controller.Client; /// <summary> /// Returned by <see cref="IResourceInformer{TResource}.Register(ResourceInformerCallback{TResource})"/> to control the lifetime of an event /// notification connection. Call <see cref="IDisposable.Dispose()"/> when the lifetime of the notification receiver is ending. /// </summary> public interface IResourceInformerRegistration : IDisposable { /// <summary> /// Returns a task that can be awaited to know when the initial listing of resources is complete. /// Once an await on this method is completed it is safe to assume that all the knowledge of this resource /// type has been made available. Any new changes will be a result of receiving new updates. /// </summary> /// <param name="cancellationToken">The cancellation token that can be used by other objects or threads to receive notice of cancellation.</param> /// <returns>Task.</returns> Task ReadyAsync(CancellationToken cancellationToken); }