Skip to content
Discussion options

You must be logged in to vote

I haven't tried yet, but controller callback can not be async function.

Try to remove the @asyncronous.task decorator and call ctrl.on_server_ready.add_task(refresh_function) instead.

You may need to run pip install -U trame-server as I've added add_task only a couple days ago.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@pazars
Comment options

@pazars
Comment options

@jourdain
Comment options

@jourdain
Comment options

@jourdain
Comment options

Answer selected by pazars
Comment options

You must be logged in to vote
1 reply
@jourdain
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants