connect_signal_to_future¶
- lsst.ts.m2gui.connect_signal_to_future(signal: Signal, func: Callable) Future ¶
Connect the siganl to asyncio.Future() and execute the function.
Parameters¶
- signal
PySide6.QtCore.Signal
Signal.
- func
func
Function to execute.
Returns¶
- future
asyncio.Future
Future instance that represents an eventual result of an asynchronous operation.
- signal