DiamondLightSource / tickit

Event-based hardware simulation framework
Apache License 2.0
7 stars 0 forks source link

Interrupt should return a future #84

Closed DominicOram closed 1 year ago

DominicOram commented 2 years ago

The future should unwrap when the update is complete

This is probably needed for multiple commands

The RegexCommand decorator should still optionally have interupt=True but in this case ignore the future. (.close)

Otherwise call interrupt in the command to return it.