using Elsa.Features.Services; using Elsa.Workflows.Api.Features; // ReSharper disable once CheckNamespace namespace Elsa.Extensions; /// /// Provides extensions to . /// public static class ModuleExtensions { /// /// Configures the workflows API feature. /// public static IModule UseWorkflowsApi(this IModule module, Action? configure = default) { module.Configure(configure); return module; } /// /// Configures the real time workflow updates feature /// public static IModule UseRealTimeWorkflows(this IModule module, Action? configure = default) { module.Configure(configure); return module; } }