connectWillClose

fun connectWillClose(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Unit): <Error class: unknown class>

This signal is emitted when the given automation session is about to finish. It allows clients to perform any cleanup tasks before the session is destroyed.

Since

2.46

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect