You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of our Sample Structures have code to determine whether or not the structure is running in a managed template. Each one does this slightly differently.
It would be helpful for users if the Griptape Framework had a utility to do this in a consistent way so they didn't need to figure it out themselves.
I'm thinking of two things we might need.. one is to know whether or not the user is in a managed environment, and the other would be a way to automatically publish a FinishStructureRunEvent to the EventBus.
Currently you need to do something like this to find out if you're in the griptape cloud environment
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
All of our Sample Structures have code to determine whether or not the structure is running in a managed template. Each one does this slightly differently.
It would be helpful for users if the Griptape Framework had a utility to do this in a consistent way so they didn't need to figure it out themselves.
I'm thinking of two things we might need.. one is to know whether or not the user is in a managed environment, and the other would be a way to automatically publish a FinishStructureRunEvent to the EventBus.
Currently you need to do something like this to find out if you're in the griptape cloud environment
then this to publish something to the event bus
Is there a way to make a Utility that makes this easier?
So the user could do something like:
Beta Was this translation helpful? Give feedback.
All reactions