mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
document get_new_blocks_feed
This commit is contained in:
parent
99b4777766
commit
ccb4bfd244
@ -288,4 +288,14 @@ def get_txids_filtered(connection, asset_id, operation=None):
|
|||||||
|
|
||||||
@singledispatch
|
@singledispatch
|
||||||
def get_new_blocks_feed(connection, start_block_id):
|
def get_new_blocks_feed(connection, start_block_id):
|
||||||
|
"""
|
||||||
|
Return a generator that yields change events of the blocks feed
|
||||||
|
|
||||||
|
Args:
|
||||||
|
start_block_id (str): ID of block to resume from
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
Generator of change events
|
||||||
|
"""
|
||||||
|
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
Loading…
x
Reference in New Issue
Block a user