Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation Error #13

Open
dust63 opened this issue Nov 15, 2022 · 1 comment
Open

Documentation Error #13

dust63 opened this issue Nov 15, 2022 · 1 comment

Comments

@dust63
Copy link

dust63 commented Nov 15, 2022

Hello just a remark about your readme, you say:

When to use this

  • You have some data/context and needs to perform series of operations on it.
  • Where operations are independent.
  • If you are ok on dealing with a state. Here in this case the context.
  • If you are struck with .Net 4.0. On 4.5 there is Banzai [nuget library]>...

But in the second example, you explain how to interact with a context.
So I deduce that your first operation "FindSumOperation" need to be terminate before the second operation "FindAverageOperation" can begin ?

So in this case it's not independant ?

@joymon
Copy link
Owner

joymon commented Nov 16, 2022

Thanks, @dust63 for the suggestion. I mean independent operations as the steps can be rearranged in any (order). Mainly because there is no typed return type that can be connected to other steps that expect the same type as its input.

The context is a simple mechanism to share state not to have a dependency.
But in real use, there may be scenarios where one step may set something in context object and the next step may be expecting that value.
Hope this explains

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants