Shiny: use future_promise with callModule

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?

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.