-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
expose timeout option, add muxrpcli@3 help
- Loading branch information
1 parent
b783f33
commit fce0d52
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
module.exports = { | ||
description: 'gossip ssb messages without replicating the entire feed, aka "Out of Order"', | ||
commands: { | ||
get: { | ||
type: 'async', | ||
description: 'get a message', | ||
args: { | ||
id: { | ||
type: 'MessageId', | ||
description: 'the identity of the message to get', | ||
optional: false | ||
}, | ||
timeout: { | ||
type: 'number', | ||
description: 'number of milliseconds to wait for this message, default: 5000, or as set in `config.ooo.timeout`. If timeout is zero it will wait forever.', | ||
optional: true | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters