File: ISignalTokenProviderService.cs
Web Access
Project: src\src\Mvc\test\WebSites\HtmlGenerationWebSite\HtmlGenerationWebSite.csproj (HtmlGenerationWebSite)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.Extensions.Primitives;
 
namespace HtmlGenerationWebSite;
 
public interface ISignalTokenProviderService<TKey>
{
    IChangeToken GetToken(object key);
 
    void SignalToken(object key);
}