blob: 7b7ffb2901bd6851deceaed6d7963dfa4878f7a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?xml version="1.0" ?>
<!--
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
-->
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0"
name="EventOccurred" datamodel="ecmascript">
<parallel id="top">
<state id="a">
<state id="a1">
<transition event="terminate" target="a2"/>
</state>
<final id="a2"/>
<onentry>
<send event="terminate"/>
<send event="timeout" delay="1s"/>
</onentry>
<transition event="timeout" target="failure"/>
<transition event="done.state.a" target="success"
cond="_event.type === 'internal'"
/>
</state>
<state id="b"/>
</parallel>
<final id="success"/>
<final id="failure"/>
</scxml>
|