Skip to content

Commit

Permalink
Added ISubscribeTo interface
Browse files Browse the repository at this point in the history
  • Loading branch information
stidsborg committed May 4, 2024
1 parent 1f182b6 commit 9653be8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Cleipnir.Flows/ISubscribeTo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using System.Threading.Tasks;

namespace Cleipnir.Flows;

public delegate Task BusPublish(object msg);

public interface ISubscribeTo<TMessage>
{
public BusPublish PublishOnBus(object msg);
static abstract string Correlate(TMessage msg);
}

0 comments on commit 9653be8

Please sign in to comment.