Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

run_in_thread method is not supported for fakepubsub object #213

Closed
AlexEshoo opened this issue Sep 3, 2018 · 0 comments
Closed

run_in_thread method is not supported for fakepubsub object #213

AlexEshoo opened this issue Sep 3, 2018 · 0 comments

Comments

@AlexEshoo
Copy link
Contributor

AlexEshoo commented Sep 3, 2018

My application uses the run_in_thread method of the PubSub object in py-redis to execute a callback function in a separate thread on publish events. This does not appear to be supported in fakeredis currently so I can't write unittests for my application by simply dropping FakeStrictRedis in place of StrictRedis client.

This module should support the background thread implementation as the real module does.

See the PubSub Section of the readme

@bmerry bmerry changed the title [Feature Request] run_in_thread method is not supported for fakepubsub object run_in_thread method is not supported for fakepubsub object Sep 3, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants