mirror of
https://github.com/bitwarden/mobile
synced 2025-12-18 01:03:24 +00:00
mobile broadcaster service
This commit is contained in:
11
src/Core/Abstractions/IBroadcasterService.cs
Normal file
11
src/Core/Abstractions/IBroadcasterService.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user