Skip to content

Is there an example to use sockpuppet for a long running job? #77

Answered by jonathan-s
simkimsia asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @simkimsia,
I made an out of band update in #78 as an example. I hope that would give the details to adapt this into something else you would like to accomplish.

In short you'll need to use the Channel, initialize that with what you subscribe to in the frontend. (the default subscription that is always there is the session_key). In the example I initialized the Channel class with 'progress'. So that means that I need to create a subscription to 'progress' in the frontend to be able to see any updates.

Let me know if you've got any more questions regarding this. Ping @shearichard since you seemed interested as well.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by jonathan-s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants