Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

丁松杰 / Pole

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • Pole
  • src
  • Pole.Sagas.Server
  • ISagasBuffer.cs
Find file
BlameHistoryPermalink
  • dingsongjie's avatar
    完善功能 · 92eeb084
    dingsongjie committed 5 years ago
    92eeb084
ISagasBuffer.cs 395 Bytes
Edit
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
using Pole.Sagas.Core;
using Pole.Sagas.Server.Grpc;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Pole.Sagas.Server
{
    public interface ISagasBuffer
    {
        Task<IEnumerable<SagaEntity>> GetSagas(string serviceName, int limit);
        Task<bool> AddSagas(IAsyncEnumerable<SagasGroupEntity> sagasGroupEntities);
    }
}