mirror of
https://github.com/bitwarden/server.git
synced 2026-02-11 19:33:21 +08:00
14 lines
403 B
C#
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);
|
|||
|
|
}
|
|||
|
|
}
|