diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-06-04 17:22:25 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-06-04 17:22:25 -0400 |
| commit | 1d5f5dd3cd5cc07352379fe33930770e3d203f3a (patch) | |
| tree | 9a92bdf7a34b99065d8f67f296b86743d34b2b84 /docs/index.md | |
| parent | a8810a00d95678cceee2a063df9c094fa6f6037d (diff) | |
use await and more application definitions
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 |
