This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Can't invoke activity from WorkflowMethod #35
Comments
I need to add logic , for example to update a DB entry, when it moves past Workflow.await , is there another way to do it without calling activity? If we decorate with @ActivityMethod , then I guess that it needs an await syntax to call that activity? |
I could do something like this to get the behavior I wanted but I'm not using Activity Interface or @ActivityMethod anymore.
cc @firdaus |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the above dummy code , If I try to invoke
return await self.subscription_activities.cancel()
, that throws errors such as:The text was updated successfully, but these errors were encountered: