Skip to content

Use Pika like a framework? #1377

Answered by lukebakken
bencleary asked this question in Q&A
Discussion options

You must be logged in to vote

Looks fine to me. Just be sure to realize that when you do work when messages arrive (via handler) that the work you do can't block the main thread which runs Pika's I/O loop.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bencleary
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