From d2c77c07f5bbe98326aea552ce09fa217318c911 Mon Sep 17 00:00:00 2001 From: yangxiaodong Date: Mon, 29 May 2017 18:45:19 +0800 Subject: [PATCH] add producer. --- src/Cap.Consistency/Producer/IProducerClient.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Cap.Consistency/Producer/IProducerClient.cs b/src/Cap.Consistency/Producer/IProducerClient.cs index 3e9844f..a580899 100644 --- a/src/Cap.Consistency/Producer/IProducerClient.cs +++ b/src/Cap.Consistency/Producer/IProducerClient.cs @@ -1,13 +1,12 @@ using System; using System.Collections.Generic; using System.Text; +using System.Threading.Tasks; namespace Cap.Consistency.Producer { public interface IProducerClient { - - - + Task SendAsync(string topic, string content); } }