mirror of
https://github.com/fluencelabs/aquavm
synced 2025-04-24 23:02:16 +00:00
update readme
This commit is contained in:
parent
f430cb81d0
commit
ffc347d247
12
README.md
12
README.md
@ -1,2 +1,12 @@
|
||||
# aquamarine
|
||||
# Aquamarine
|
||||
|
||||
Aquamarine is a distributed choreography language & platform
|
||||
|
||||
## Examples
|
||||
|
||||
```rust
|
||||
((call (%current% (local_service_id local_fn_name) () result_name)) (call (remote_peer_id (service_id fn_name) () g)))
|
||||
```
|
||||
This instruction sequence contains two call instructions:
|
||||
1. call a function with `local_fn_name` name of a local service with `local_service_id` id and bind result to `result_name`
|
||||
2. call a remote peer with `remote_peer_id` id
|
||||
|
Loading…
x
Reference in New Issue
Block a user