summaryrefslogtreecommitdiffstats
path: root/test/uscxml/test-umundo-pingpong.scxml
blob: 93be19dbe24f893a459be90d09befe550bed7882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<scxml datamodel="ecmascript">
	<script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" />
	<state id="start">
		<invoke type="heartbeat" id="heartbeat.1s">
			<param name="interval" expr="'1s'" />
		</invoke>
		<!-- invoke type="umundo" id="scxml.umundo">
		  <param name="channel" expr="'pingpong'" />
			<finalize>
	      <script>
	        dump(_event);
	      </script>
			</finalize>
		</invoke -->
		<onentry>
			<log expr="'Entering start'" />
      <!-- send target="#_scxml.umundo" delay="0s" event="send" / -->
		</onentry>
		<transition target="start" event="heartbeat" />
	</state>
</scxml>