mirror of
https://github.com/fluencelabs/aqua-lib
synced 2024-12-04 15:20:23 +00:00
Peer.timeout: make message non-optional (#16)
This commit is contained in:
parent
0e87271350
commit
1193236fe7
@ -130,9 +130,9 @@ service Peer("peer"):
|
||||
-- Get Unix timestamp in seconds
|
||||
timestamp_sec() -> u64
|
||||
|
||||
-- Blocks for the given number of milliseconds. Meant to be used inside `par` blocks.
|
||||
-- If `message` is passed, it's returned after duration has passed
|
||||
timeout(duration_ms: u64, message: ?string) -> ?string
|
||||
-- Blocks for the given number of milliseconds. Meant to be used within `par` blocks.
|
||||
-- message is returned after duration has passed
|
||||
timeout(duration_ms: u64, message: string) -> string
|
||||
|
||||
service Kademlia("kad"):
|
||||
-- Instructs node to return the locally-known nodes
|
||||
|
Loading…
Reference in New Issue
Block a user