mirror of
https://github.com/bitwarden/mobile
synced 2025-12-19 01:33:22 +00:00
re-worked message sending
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
using System;
|
||||
using Bit.Core.Models.Domain;
|
||||
using System;
|
||||
|
||||
namespace Bit.Core.Abstractions
|
||||
{
|
||||
public interface IBroadcasterService
|
||||
{
|
||||
void Send<T>(T message, string id = null);
|
||||
void Subscribe<T>(string id, Action<T> messageCallback);
|
||||
void Send(Message message, string id = null);
|
||||
void Subscribe(string id, Action<Message> messageCallback);
|
||||
void Unsubscribe(string id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user