Mixonomer.NET/MusicTools.Func/RunUserPlaylist.cs

30 lines
684 B
C#
Raw Normal View History

2022-08-03 22:51:39 +01:00
using System;
using System.Threading;
using System.Threading.Tasks;
using CloudNative.CloudEvents;
using Google.Cloud.Functions.Framework;
using Google.Events.Protobuf.Cloud.PubSub.V1;
using Microsoft.Extensions.Logging;
namespace MusicTools.Func
{
public class RunUserPlaylist : ICloudEventFunction<MessagePublishedData>
{
private readonly ILogger _logger;
public RunUserPlaylist(ILogger<RunUserPlaylist> logger)
{
_logger = logger;
}
public Task HandleAsync(CloudEvent cloudEvent, MessagePublishedData data, CancellationToken cancellationToken)
{
return Task.CompletedTask;
}
}
}