Compile the document and create a session. The session is not started: call start(). Call dispose() when you are done with it.
start()
dispose()
source is SCXML text, an <scxml> element or a model from compile(). Parsing text outside browsers needs opts.domParser.
source
<scxml>
compile()
opts.domParser
Compile the document and create a session. The session is not started: call
start(). Calldispose()when you are done with it.sourceis SCXML text, an<scxml>element or a model fromcompile(). Parsing text outside browsers needsopts.domParser.