Syntax
void setState( function|object nextState, [function callback] )