bluesky.plan_stubs.sleep#
- bluesky.plan_stubs.sleep(time: float) Generator[Msg, Any, P] [source]#
Tell the RunEngine to sleep, while asynchronously doing other processing.
This is not the same as
import time; time.sleep()
because it allows other actions, like interruptions, to be processed during the sleep.- Parameters:
- timefloat
seconds
- Yields:
- msgMsg
Msg(‘sleep’, None, time)