mirror of
https://github.com/bitwarden/server.git
synced 2026-02-08 18:03:11 +08:00
18 lines
418 B
C#
18 lines
418 B
C#
|
|
using System;
|
|||
|
|
using System.IO;
|
|||
|
|
using System.Threading;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
using Microsoft.Azure.WebJobs;
|
|||
|
|
|
|||
|
|
namespace Bit.EventsProcessor
|
|||
|
|
{
|
|||
|
|
public class Functions
|
|||
|
|
{
|
|||
|
|
public async static Task ProcessQueueMessageAsync(
|
|||
|
|
[QueueTrigger("event")] string message, TextWriter logger, CancellationToken token)
|
|||
|
|
{
|
|||
|
|
await logger.WriteLineAsync(message);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|