@@ -37,20 +37,13 @@ def call_sync(func: Callable[P, T], *args: P.args, **kwargs: P.kwargs) -> Genera
3737
3838 - Blocking the whole event loop
3939 - Breaking keyboard interrupt handling
40- - Not clearing the active checkpoint
4140
4241 It does not necessarily guard against all possible cases, and as such it is *recommended* to
4342 use native bluesky functionality wherever possible in preference to this plan stub. This should
4443 be seen as an escape-hatch.
4544
4645 The wrapped function will be run in a new thread.
4746
48- This plan stub will clear any active checkpoints before running the external code, because
49- in general the external code is not safe to re-run later once it has started (e.g. it may have
50- done relative sets, or may have started some external process). This means that if a plan is
51- interrupted at any point between a call_sync and the next checkpoint, the plan cannot be
52- resumed - in this case bluesky.utils.FailedPause will appear in the ctrl-c stack trace.
53-
5447 Args:
5548 func: A callable to run.
5649 *args: Arbitrary arguments to be passed to the wrapped function
@@ -60,7 +53,6 @@ def call_sync(func: Callable[P, T], *args: P.args, **kwargs: P.kwargs) -> Genera
6053 The return value of the wrapped function
6154
6255 """
63- yield from bps .clear_checkpoint ()
6456 return cast (T , (yield Msg (CALL_SYNC_MSG_KEY , func , * args , ** kwargs )))
6557
6658
0 commit comments