-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Description
I have a small project to run the worker locally in a asp.net app, It’s mostly based on the practices in this library, but is there any documentation or source code you can refer me to for understanding how to handle entities?
Based on my understanding:
- Entity signals behave like normal orchestration calls, but the orchestration name becomes @{entity name}@{entity id}.
- Entities go through the same pipeline as orchestrations, so OrchestrationMiddleware can detect them.
- I can create an entity from DI using factory.TryCreateEntity, similar to orchestrations.
However, I haven’t been able to find any references or source code that explain how an entity is actually handled, especially how to read state, set state, and ultimately how should i set the orchestration result in this case.
Thank you in advance