summaryrefslogtreecommitdiff
path: root/docs/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/index.md')
-rw-r--r--docs/index.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/index.md b/docs/index.md
index b0b2baa..d298e04 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -31,8 +31,8 @@ readFile("filename", callback(data))
// langauge equivalent
// Do Soemthing
Fn[name; callback] $ (
- ( read ) : `use "io"
- callback `sync read `sync name
+ ( read; open ) : `use "io"
+ callback `sync read `sync open `sync name
) `async ("filename"; callback)
// Continue while readFile is running
```