1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-29 00:32:18 -05:00
bitwarden/src/Core/Services/IMailEnqueuingService.cs
2021-12-16 15:35:09 +01:00

14 lines
403 B
C#

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Bit.Core.Models.Mail;
namespace Bit.Core.Services
{
public interface IMailEnqueuingService
{
Task EnqueueAsync(IMailQueueMessage message, Func<IMailQueueMessage, Task> fallback);
Task EnqueueManyAsync(IEnumerable<IMailQueueMessage> messages, Func<IMailQueueMessage, Task> fallback);
}
}