When writing a custom annotation processor, what i...
# kapt
r
When writing a custom annotation processor, what is the easiest way to check that a method is a
suspend
method?
g
or use kotlin-metadata which give you API to check that
r
thank you! 🙂
m
Something like
Copy code
(Meta.of(functionElement) as? MFunction)?.isSuspend ?: false
https://github.com/fluidsonic/fluid-meta