onDestroy

fun <T : CSHasRegistrations, CSHasDestroy> T.onDestroy(listener: () -> Unit): CSRegistration