mirror of
https://github.com/fluencelabs/examples
synced 2025-05-28 18:21:20 +00:00
add return value
This commit is contained in:
parent
af97d5ab4b
commit
11f27714de
@ -20,7 +20,7 @@ service ConsoleAny2("run-console"):
|
||||
service Console("run-console"):
|
||||
print(msg: string)
|
||||
|
||||
func console_tester():
|
||||
func console_tester() -> string:
|
||||
Console.print("tester start")
|
||||
on HOST_PEER_ID:
|
||||
workersInfo <- getWorkersInfo()
|
||||
@ -28,6 +28,7 @@ func console_tester():
|
||||
workersOp, err <- resolveSubnetwork(dealId)
|
||||
ConsoleAny.print(err)
|
||||
Console.print("tester end")
|
||||
<- "the end of tester"
|
||||
|
||||
|
||||
func getWorkers() -> []Record:
|
||||
|
Loading…
x
Reference in New Issue
Block a user