IObserverUnit.cs 288 Bytes Edit 1 2 3 4 5 6 7 8 9 10 11 12 using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Pole.Core.EventBus { public interface IObserverUnit<PrimaryKey> : IGrainID { Func<byte[], Task> GetEventHandler(); Func<List<byte[]>, Task> GetBatchEventHandler(); } }