Skip to content

[QUESTION] - How can I stop consumer from server? #4904

Answered by jnmoyne
sujit-baniya asked this question in Q&A
Discussion options

You must be logged in to vote

Just use a pull consumer on your worker (using the old JS API), or use Messages() (new simplified JS API), it will only receive messages when it actively pulls them (by calling Fetch() or Messages())

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sujit-baniya
Comment options

@jnmoyne
Comment options

Answer selected by jnmoyne
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