Calls the passed function and returns the unsubscribe function from all signals and subscriptions created within it.
A function to call.
A cleanup function.
Calls the passed function and returns the unsubscribe function from all signals and subscriptions created within it.