Skip to content

Commit

Permalink
ENH #218
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Aug 5, 2019
1 parent a5851bb commit dddec22
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions apstools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def pairwise(iterable):
return zip(a, a)


def replay(headers, callback=None):
def replay(headers, callback=None, sort=True):
"""
replay the document stream from one (or more) scans (headers)
Expand All @@ -348,7 +348,11 @@ def replay(headers, callback=None):
callback: scan or [scan]
The Bluesky callback to handle the stream of documents from a scan.
If `None`, then use the `bec` (BestEffortCallback) from the IPython shell.
(default:`None`)
(default:``None``)
sort: bool
Sort the headers chronologically if True.
(default:``True``)
*new in apstools release 1.1.11*
"""
Expand Down

0 comments on commit dddec22

Please sign in to comment.