mirror of
https://github.com/fluencelabs/examples
synced 2024-12-04 19:20:17 +00:00
update comments
This commit is contained in:
parent
5fd2cdbb6c
commit
2ab3ff0957
@ -29,10 +29,11 @@ async function main() {
|
||||
Fluence.getStatus().relayPeerId
|
||||
);
|
||||
|
||||
// call the get_price function -- sequential processing
|
||||
// call the simple getter
|
||||
const ts_result = await ts_getter();
|
||||
console.log("simple result: ", ts_result);
|
||||
|
||||
// call the bounded getter
|
||||
const ts_result_tuple = await ts_getter_with_timeout();
|
||||
console.log("raw timestamps: %s\ndead peers: %s ", ts_result_tuple[0].filter(e => e !== 0), ts_result_tuple[1]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user