mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
12 lines
183 B
Plaintext
12 lines
183 B
Plaintext
---
|
|
<macro|macroInput| name="asyncMacro">
|
|
$ var num = macroInput.num;
|
|
${num}
|
|
</macro>1
|
|
<await(data.D1)>
|
|
<@then|D1|>
|
|
<asyncMacro num=2/>
|
|
</@then>
|
|
</await>
|
|
3
|
|
--- |