FunctionMonkey
FunctionMonkey copied to clipboard
Docs for `previousResult` parameter
I was looking for some docs on the previousResult parameter of ICommandHandler.ExecuteAsync, but I couldn't find anything.
I gather this is the last response returned by the handler, but:
- In what scenario might I want this?
- How is this result stored betwen calls?
- Is this the last result for the same caller, or the last result by any caller?
Thanks!
This might help:
https://github.com/JamesRandall/AzureFromTheTrenches.Commanding/wiki/4.-Command-Handlers
Thanks, that helps a lot!
I understand now that multiple handlers can be chained in a pipeline, which I hadn't realised before. Is there any mention of this in the FunctionMonkey docs? (just trying to see if I'd missed something I shouldn't have 😄)