Aetheria/Assets/Scripts/MagicOnion.Abstractions/IStreamingHub.cs

15 lines
384 B
C#
Raw Normal View History

using System.Threading.Tasks;
namespace MagicOnion
{
public interface IStreamingHubMarker
{
}
public interface IStreamingHub<TSelf, TReceiver> : IStreamingHubMarker, IServiceMarker
{
TSelf FireAndForget(); // if changed to get-only property, intellisense does not work on VS2017.
Task DisposeAsync();
Task WaitForDisconnect();
}
}