1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-18 01:03:24 +00:00

mobile broadcaster service

This commit is contained in:
Kyle Spearrin
2019-04-18 12:53:05 -04:00
parent 1dd5f9fc27
commit da73a2f5d2
2 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
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 Unsubscribe(string id);
}
}