mirror of
https://github.com/bitwarden/server.git
synced 2025-04-29 00:32:18 -05: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);
|
|
}
|
|
}
|