Ordering of commands
Posted: Thursday 30 May 2019 11:23
Hi All,
I was wondering if the order of commands are important to let them work?
light.switchOff().checkFirst().afterDec(5)
light.switchOff().afterDec(5).checkFirst()
As you see only checkFirst and afterSec are switched. Will this have impact on how they behave?
I was wondering if the order of commands are important to let them work?
light.switchOff().checkFirst().afterDec(5)
light.switchOff().afterDec(5).checkFirst()
As you see only checkFirst and afterSec are switched. Will this have impact on how they behave?