mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
The move!
This commit is contained in:
parent
1daf480b1b
commit
25526cc4d9
1147 changed files with 85 additions and 8524 deletions
17
Old/Ombi.Core/Queue/ITransientFaultQueue.cs
Normal file
17
Old/Ombi.Core/Queue/ITransientFaultQueue.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Ombi.Store;
|
||||
using Ombi.Store.Models;
|
||||
|
||||
namespace Ombi.Core.Queue
|
||||
{
|
||||
public interface ITransientFaultQueue
|
||||
{
|
||||
void Dequeue();
|
||||
Task DequeueAsync();
|
||||
IEnumerable<RequestQueue> GetQueue();
|
||||
Task<IEnumerable<RequestQueue>> GetQueueAsync();
|
||||
void QueueItem(RequestedModel request, string id, RequestType type, FaultType faultType);
|
||||
Task QueueItemAsync(RequestedModel request, string id, RequestType type, FaultType faultType, string message = null);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue