hermes-socket-library/Requests/Callbacks/ICallbackManager.cs

9 lines
229 B
C#
Raw Permalink Normal View History

namespace HermesSocketLibrary.Requests.Callbacks
{
public interface ICallbackManager<A> where A : class
{
string GenerateKeyForCallback(A callback);
A? Get(string key);
A? Take(string key);
}
}