diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2022-05-21 04:03:26 +0100 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2022-05-21 04:03:26 +0100 |
commit | 18c4c6417a275b5af25f33f5b044ffec3f25c0f4 (patch) | |
tree | 04b9828717b14ed5c1f50a59e6cff611aed2cc4e /test/test_ffi.mjs | |
parent | 815090ada742b97a918963d90fc347914147342f (diff) | |
download | lustre-18c4c6417a275b5af25f33f5b044ffec3f25c0f4.tar.gz lustre-18c4c6417a275b5af25f33f5b044ffec3f25c0f4.zip |
:sparkles: Update counter example to show off fancy Cmds and dispatch features.
Diffstat (limited to 'test/test_ffi.mjs')
-rw-r--r-- | test/test_ffi.mjs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_ffi.mjs b/test/test_ffi.mjs new file mode 100644 index 0000000..e4fc06a --- /dev/null +++ b/test/test_ffi.mjs @@ -0,0 +1,5 @@ +export const after = (f, delay) => { + const id = window.setTimeout(() => { + f(id) + }, delay) +} |