Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

How to stop collector after onMessage function? #48

Answered by amenbros
amenbros asked this question in Q&A
Discussion options

You must be logged in to vote

I've figured it out by doing

let stopCollector = collector.messagesCollector
stopCollector.stop()

Replies: 1 comment 1 reply

Comment options

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

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