summary refs log tree commit diff stats
path: root/lib/pure/async.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pure/async.nim')
-rw-r--r--lib/pure/async.nim11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/pure/async.nim b/lib/pure/async.nim
index 97b29f81d..e4d8d41c3 100644
--- a/lib/pure/async.nim
+++ b/lib/pure/async.nim
@@ -1,6 +1,9 @@
+## Exports [asyncmacro](asyncmacro.html) and [asyncfutures](asyncfutures.html) for native backends,
+## and [asyncjs](asyncjs.html) on the JS backend. 
+
 when defined(js):
-    import asyncjs
-    export asyncjs
+  import std/asyncjs
+  export asyncjs
 else:
-    import asyncmacro, asyncfutures
-    export asyncmacro, asyncfutures
+  import std/[asyncmacro, asyncfutures]
+  export asyncmacro, asyncfutures