Replies: 3 comments 1 reply
-
What do you think about introducing a flag, |
Beta Was this translation helpful? Give feedback.
0 replies
-
Cool - what would that look like for the users? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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