How to return something from notification handler #451
Answered
by
hbldh
ChinmayJoshi-eaton
asked this question in
Q&A
-
I want to return something from the notification handler. Is there a way to do it? |
Beta Was this translation helpful? Give feedback.
Answered by
hbldh
Mar 23, 2021
Replies: 2 comments
-
No, you have to deposit that somewhere: stick it in a global list or, better, send it to a queue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
A rough sketch on how this can be done can be found in the example |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hbldh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A rough sketch on how this can be done can be found in the example
async_callback_with_queue.py
.