Words

Previous   Next

Cairngorm and SequenceCommand Gotcha

Posted Jul 26 by shawn 1

Tagged withadobecairngormdevflex

Another quick post about a gotcha I found when using the SequenceCommand in Cairngorm.

I was using an iterator in my command to get a next item and determine if I can use that item or if I need move on to the next…an so on.

I had originally decided to just make the nextEvent another event that would run the same command and reuse the logic if I needed to try again. Well since then I had to re-factor the code to work all in one shot since apparently not too far into that sequence of commands I get a stack overflow error.

I’m surprised at how quickly it happens since there isn’t really much going on. So, I like my re-factored code better anyway and this is a bit of info that you might find useful in the rare occasion you might be thinking about causing a command to basically run itself more than a couple times.

Post A Comment

  • evening dresses Feb. 23rd, 4:59 a.m.

    With more 1000 Designer dresses,we supply Evening Dresses,Custom Dresses,formal gowns,cocktail dresses with wholesale price.


Leave a comment

Markdown syntax is okay, but any raw HTML will be removed.

squareFACTOR
222 South Westmonte Dr.
Suite 311
Altamonte Springs, FL 32714 28.659606 -81.393275