mirror of
https://github.com/fluencelabs/examples
synced 2025-04-25 10:42:16 +00:00
remove identity service
This commit is contained in:
parent
9b77abd466
commit
64e4358a04
@ -4,10 +4,6 @@ import "builtin.aqua"
|
||||
service AddOne:
|
||||
add_one: u64 -> u64
|
||||
|
||||
-- identity service for formatting stream var
|
||||
service MyOp("op"):
|
||||
identity(u: u64)
|
||||
|
||||
-- convenience struc for (Peer Id, Service Id) tuples
|
||||
data NodeServiceTuple:
|
||||
node_id: string
|
||||
@ -33,7 +29,6 @@ func add_one_three_times(value: u64, ns_tuples: []NodeServiceTuple) -> u64:
|
||||
res3 <- AddOne.add_one(res2)
|
||||
<- res3
|
||||
|
||||
|
||||
func add_one_par(value: u64, ns_tuples: []NodeServiceTuple) -> []u64:
|
||||
res: *u64
|
||||
for ns <- ns_tuples par:
|
||||
|
Loading…
x
Reference in New Issue
Block a user