-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from tomaka/storage-more-powerful
Make `chainHead_unstable_storage` more powerful
- Loading branch information
Showing
2 changed files
with
76 additions
and
9 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
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,15 @@ | ||
# chainHead_unstable_storageContinue | ||
|
||
**Parameters**: | ||
|
||
- `subscription`: An opaque string that was returned by `chainHead_unstable_storage`. | ||
|
||
**Return value**: *null* | ||
|
||
Resumes a storage fetch started with `chainHead_unstable_storage` after it has generated a `waiting-for-continue` event. | ||
|
||
Has no effect if the `subscription` is invalid or refers to a subscription that has emitted a `{"event": "inaccessible"}` event. | ||
|
||
## Possible errors | ||
|
||
- A JSON-RPC error is generated if the `subscription` is valid but hasn't generated a `waiting-for-continue` event. |