I'm trying to use future_promise with callModule like
future_promise({
result <- callModule(modulefunction, "moduleid")
})
I have a error
Warning: Error in callModule: session must be a ShinySession or session_proxy object.
[No stack trace available]
Unhandled promise error: session must be a ShinySession or session_proxy object.
How is right?