This message was deleted.
# coroutines
s
This message was deleted.
🤯 3
z
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?
i
@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...
z
Where are you logging from?
i
logging by AOP
z
I don't know what AOP is