Replies: 2 comments 1 reply
-
The decision to create new instances of
Unfortunately, specific details about the thread safety and state management of the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
@minmie Workflow instances can be shared. When you call
It exposes the handler, which holds all the logic and context for that specific run. The only reason I wouldn't re-use the class instance is if your custom workflow is using |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
share:
create each time:
Beta Was this translation helpful? Give feedback.
All reactions