Add an example of the async keyword
This commit is contained in:
parent
efd6bebf91
commit
53cc7a739f
|
@ -0,0 +1,13 @@
|
|||
|
||||
node f(x : int) returns (y : int)
|
||||
let
|
||||
y = x;
|
||||
tel
|
||||
|
||||
node main() returns (y : int)
|
||||
var
|
||||
x : int;
|
||||
let
|
||||
x = 1 + (0 fby x);
|
||||
y = async f(x) on timer_ms(5);
|
||||
tel
|
Loading…
Reference in New Issue