aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/control/concurrency/process.lux
diff options
context:
space:
mode:
authorEduardo Julian2020-08-09 18:38:17 -0400
committerEduardo Julian2020-08-09 18:38:17 -0400
commitf79e39de3f605695a33acadf751be498f552930b (patch)
tree0fe49686a72fef910f7a861229826139e8bc1fd6 /stdlib/source/lux/control/concurrency/process.lux
parentb2cec28f75239fd11ab13a6ff896fb0bf0f7a19c (diff)
Allow "#io" outputs for JS imports.
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/control/concurrency/process.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/control/concurrency/process.lux b/stdlib/source/lux/control/concurrency/process.lux
index 04bfbbbae..afd24bb5c 100644
--- a/stdlib/source/lux/control/concurrency/process.lux
+++ b/stdlib/source/lux/control/concurrency/process.lux
@@ -58,7 +58,7 @@
(schedule [java/lang/Runnable long java/util/concurrent/TimeUnit] #io (java/util/concurrent/ScheduledFuture java/lang/Object))))
@.js
- (as-is (host.import: (setTimeout [host.Function host.Number] Any)))}
+ (as-is (host.import: (setTimeout [host.Function host.Number] #io Any)))}
## Default
(type: Process
@@ -121,8 +121,8 @@
runner)))
@.js
- (io.io (..setTimeout [(host.closure [] (io.run action))
- (n.frac milli-seconds)]))}
+ (..setTimeout [(host.closure [] (io.run action))
+ (n.frac milli-seconds)])}
## Default
(do io.monad