From 18c4c6417a275b5af25f33f5b044ffec3f25c0f4 Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Sat, 21 May 2022 04:03:26 +0100 Subject: :sparkles: Update counter example to show off fancy Cmds and dispatch features. --- test/test_ffi.mjs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/test_ffi.mjs (limited to 'test/test_ffi.mjs') 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) +} -- cgit v1.2.3