17 lines
396 B
C#
17 lines
396 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FruitBankHybrid.Shared.Services
|
|
{
|
|
public interface ISignalRService
|
|
{
|
|
event Action<string, string>? MessageReceived;
|
|
Task InitializeAsync();
|
|
Task SendMessageAsync(string user, string message);
|
|
ValueTask DisposeAsync();
|
|
}
|
|
}
|