Swolfkrow 0.1.0
See the version list below for details.
dotnet add package Swolfkrow --version 0.1.0
NuGet\Install-Package Swolfkrow -Version 0.1.0
<PackageReference Include="Swolfkrow" Version="0.1.0" />
paket add Swolfkrow --version 0.1.0
#r "nuget: Swolfkrow, 0.1.0"
// Install Swolfkrow as a Cake Addin
#addin nuget:?package=Swolfkrow&version=0.1.0
// Install Swolfkrow as a Cake Tool
#tool nuget:?package=Swolfkrow&version=0.1.0
Swolfkrow
Swolfkrow (pronounced /ˈwɜː(r)kˌfləʊs/) is a DSL designed to declaratively compose asynchronous workflows based on the IAsyncEnumerable<out T>
interface.
Workflows
In the context of this library, an asynchronous workflow is defined as a function that takes any number of parameters, executes arbitrary business logic, and returns an asynchronous stream of events signaling progress, outcomes, and errors.
Usage
Asynchronous workflows can be composed as sequences of simpler workflows:
IAsyncEnumerable<SomeEvent> Step1() { ... }
IAsyncEnumerable<SomeEvent> Step2(int someInfo) { ... }
IAsyncEnumerable<SomeEvent> ComposedWorkflow()
=> Workflow
.Start(Step1)
.Then(Step2, 42);
License and copyright notice
This library is licensed under the MIT license.
This library is copyright © Rubén Campos Zurriaga 2023. All rights reserved.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- System.Linq.Async (>= 6.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.4.0 | 158 | 9/1/2023 |
0.3.2 | 145 | 7/22/2023 |
0.3.1 | 172 | 7/3/2023 |
0.3.0 | 157 | 7/2/2023 |
0.2.5 | 146 | 6/18/2023 |
0.2.4 | 147 | 6/12/2023 |
0.2.3 | 165 | 6/9/2023 |
0.2.2 | 162 | 6/6/2023 |
0.2.1 | 136 | 6/4/2023 |
0.2.0 | 148 | 5/29/2023 |
0.1.3 | 151 | 5/29/2023 |
0.1.2 | 153 | 5/25/2023 |
0.1.1 | 156 | 5/22/2023 |
0.1.0 | 151 | 5/21/2023 |
# 0.1.0 (2023-)
- Initial Version.
- Added simple continuation of asynchronous workflows.