heptagon/examples/async/simple.ept

14 lines
160 B
Text
Raw Normal View History

2020-12-20 19:57:44 +01:00
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