Addressing some Outlook sending issues due to API delay.
This commit is contained in:
@@ -48,7 +48,7 @@ namespace Wino.Core.Domain.Interfaces
|
||||
/// We add small delay for the following synchronization after executing current requests to overcome this issue.
|
||||
/// Default is false.
|
||||
/// </summary>
|
||||
bool DelayExecution { get; }
|
||||
int ResynchronizationDelay { get; }
|
||||
}
|
||||
|
||||
public interface IRequest : IRequestBase
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Wino.Core.Domain.Models.Requests
|
||||
public abstract void ApplyUIChanges();
|
||||
public abstract void RevertUIChanges();
|
||||
|
||||
public virtual bool DelayExecution => false;
|
||||
public virtual int ResynchronizationDelay => 0;
|
||||
}
|
||||
|
||||
public abstract record FolderRequestBase(MailItemFolder Folder, MailSynchronizerOperation Operation) : IFolderRequest
|
||||
@@ -20,7 +20,7 @@ namespace Wino.Core.Domain.Models.Requests
|
||||
public abstract void ApplyUIChanges();
|
||||
public abstract void RevertUIChanges();
|
||||
|
||||
public virtual bool DelayExecution => false;
|
||||
public virtual int ResynchronizationDelay => 0;
|
||||
}
|
||||
|
||||
public abstract record BatchRequestBase(IEnumerable<IRequest> Items, MailSynchronizerOperation Operation) : IBatchChangeRequest
|
||||
@@ -28,6 +28,7 @@ namespace Wino.Core.Domain.Models.Requests
|
||||
public abstract void ApplyUIChanges();
|
||||
public abstract void RevertUIChanges();
|
||||
|
||||
public virtual bool DelayExecution => false;
|
||||
public virtual int ResynchronizationDelay => 0;
|
||||
public virtual bool ExecuteSerialBatch => false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user