elsa-core/src/modules/Elsa.Http/Contracts/IDownloadableManager.cs

15 lines
499 B
C#
Raw Normal View History

using Elsa.Http.Models;
using Elsa.Http.Options;
namespace Elsa.Http.Contracts;
/// <summary>
/// Provides downloadables from the specified content, if supported.
/// </summary>
public interface IDownloadableManager
{
/// <summary>
/// Returns a list of downloadables from the specified content.
/// </summary>
IEnumerable<Func<ValueTask<Downloadable>>> GetDownloadablesAsync(object content, DownloadableOptions? options = default, CancellationToken cancellationToken = default);
}