Replies: 2 comments
-
Closed this as I can return the whole function instead of exiting the loop. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I use cloudformation paginator like this, but I have no idea how to force return if specific condition is met
For a case like below, I want to return the function if e.Status == "xxx", in this condition I don't want to check more pages anymore even if there're still more pages.
By looking at
HasMorePages()
function, do I have to set?Beta Was this translation helpful? Give feedback.
All reactions