diff options
Diffstat (limited to 'docs/index.md')
| -rw-r--r-- | docs/index.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/index.md b/docs/index.md index 389b7a8..b0b2baa 100644 --- a/docs/index.md +++ b/docs/index.md @@ -22,17 +22,19 @@ This specification not only describes the language syntax but it's implementatio * Automatically use threads -* All code can be run asynchronously - -* No built in asynchronous callback functions +* All code can be run asynchronously, no built in asynchronous callback functions ```text +// Do Soemthing readFile("filename", callback(data)) +// Continue while readFile is running // langauge equivalent +// Do Soemthing Fn[name; callback] $ ( - ( read_file ) : `use "io" - callback `sync read_file `sync name + ( read ) : `use "io" + callback `sync read `sync name ) `async ("filename"; callback) +// Continue while readFile is running ``` * C interoperability |
