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

9 lines
229 B
C#

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