Stillpoint-Software / hyperbee.pipeline

A pipeline library for constructing asynchronous fluent pipelines in .NET
https://stillpoint-software.github.io/hyperbee.pipeline/
Other
2 stars 0 forks source link

[FEATURE]: Create Extension to Support Caching values #3

Closed github-actions[bot] closed 6 months ago

github-actions[bot] commented 6 months ago
Original issue description ### Tell us about your idea It would be nice if complex steps in a pipeline could be cached to speed up future runs. ```csharp var command = PipelineFactory .Start() .PipeCacheAsync( RunComplexAsync ) .Build(); ``` Or a set of steps: ```csharp // Takes a string and returns a number var command = PipelineFactory .Start() .PipeCacheAsync( b => b .PipeAsync( RunComplexAsync ) .Pipe( OtherComplex ) .Build(); ``` ### Anything else? _No response_

closes #2