aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/SignalRHub/ITimelineClient.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-05-15 16:01:21 +0800
committercrupest <crupest@outlook.com>2021-05-15 16:01:21 +0800
commit49b0cb7b465561447b8d4693ba988b13e0e1b57a (patch)
tree4c533d940af0b2691619a960f439f5f33129a9ff /BackEnd/Timeline/SignalRHub/ITimelineClient.cs
parent741230818e8c8093f7ead04c7df1c21a17cceae4 (diff)
downloadtimeline-49b0cb7b465561447b8d4693ba988b13e0e1b57a.tar.gz
timeline-49b0cb7b465561447b8d4693ba988b13e0e1b57a.tar.bz2
timeline-49b0cb7b465561447b8d4693ba988b13e0e1b57a.zip
feat: Timeline post change notification with signalr.
Diffstat (limited to 'BackEnd/Timeline/SignalRHub/ITimelineClient.cs')
-rw-r--r--BackEnd/Timeline/SignalRHub/ITimelineClient.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/BackEnd/Timeline/SignalRHub/ITimelineClient.cs b/BackEnd/Timeline/SignalRHub/ITimelineClient.cs
new file mode 100644
index 00000000..0d1be093
--- /dev/null
+++ b/BackEnd/Timeline/SignalRHub/ITimelineClient.cs
@@ -0,0 +1,9 @@
+using System.Threading.Tasks;
+
+namespace Timeline.SignalRHub
+{
+ public interface ITimelineClient
+ {
+ Task OnTimelinePostChanged(string timelineName);
+ }
+}