Is anyone using async with Grails 6? Does anyone k...
# questions
s
Is anyone using async with Grails 6? Does anyone know if the documentation for Async, linked from the current Grails docs, is up to date? https://docs.grails.org/latest/guide/async.html. It appears it hasn't been updated in many years as it still references older ways of using Gradle. I can't get any of the examples working and it looks pretty straight forward.
m
Up-to-date snapshot documentation for
grails-async
can be found here: https://async.grails.org/snapshot/guide/index.html Publishing of the latest release documentation has been broken after 4.0.0 but should be updated again on the next release. grails-async should work with Grails 6. What issues are you having?
s
thanks! Some of it was my fault but some of the import statements in the examples don't appear to be correct.
Copy code
import static grails.async.WebPromises.*
should be
Copy code
import static grails.async.web.WebPromises.*
I see this in the snapshot documentation too
m
Good catch, I'll fix those 👍
👍 1