mirror of
https://github.com/fluencelabs/examples
synced 2024-12-04 19:20:17 +00:00
update aqua scripts to 0.6.0
This commit is contained in:
parent
8231f7e343
commit
e5aa195dd6
@ -1,5 +1,4 @@
|
||||
service OpString("op"):
|
||||
identity(s: string)
|
||||
import "@fluencelabs/aqua-lib/builtin.aqua"
|
||||
|
||||
data EchoResult:
|
||||
echo: string
|
||||
@ -73,7 +72,9 @@ func echo_greeting_par(greet: bool, echo_service: EchoServiceInput, greeting_ser
|
||||
GreetingService greeting_service.service_id
|
||||
on greeting_service.node:
|
||||
res <- GreetingService.greeting(result.echo, greet)
|
||||
OpString.identity(res!5)
|
||||
Op.noop()
|
||||
-- OpString.identity(res!5)
|
||||
join res[5]
|
||||
<- res
|
||||
|
||||
-- call parallel with echo service, alternate version
|
||||
@ -88,7 +89,8 @@ func echo_greeting_par_alternative(greet: bool, echo_service: EchoServiceInput,
|
||||
GreetingService greeting_service.service_id
|
||||
par on greeting_service.node:
|
||||
res <- GreetingService.greeting(result.echo, greet)
|
||||
OpString.identity(res!5)
|
||||
Op.noop()
|
||||
join res[5]
|
||||
<- res
|
||||
|
||||
|
||||
@ -109,5 +111,7 @@ func echo_greeting_par_improved(echo_service: EchoServiceInput, greeting_service
|
||||
GreetingService greeting_service.service_id
|
||||
on greeting_service.node:
|
||||
res <- GreetingService.greeting(result.echo, greeting_service.greet)
|
||||
OpString.identity(res!5)
|
||||
Op.noop()
|
||||
--OpString.identity(res!5)
|
||||
join res[5]
|
||||
<- res
|
||||
|
7914
aqua-examples/echo-greeter/client-peer/package-lock.json
generated
Normal file
7914
aqua-examples/echo-greeter/client-peer/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user