onMain

inline fun CSHasDestruct.onMain(@MainThread crossinline function: () -> Unit)