Are you trying to determine whether the current suspend function has been resumed after suspending at some point in the past? I’m not really sure what you’re asking, but I don’t think there’s an “easy” way to do this, since it’s not part of the public API. Why do you need to do this?
07/20/2020, 12:09 AM
@Zach Klippenstein (he/him) [MOD] I want to add log AOP for this. If I don't do that. The logger will log multiple times when the coroutine resume.
Very sorry. Because my English so poor. The original question might be strange... I edited the text.
Yeah, looks there is no public API for that. So I have decompiled the suspend function. This is my conclusion...