onWillClose

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

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