<Lumio>
ok .. one more question… can I somehow make a subthread or something so I can send a message to a user and wait until he responds and continue only then with a certain task?
<dominikh>
I'll respond to that after I've eaten
<Lumio>
bon apetit
<dominikh>
thanks. Lumio: first of all: no, there's no straightforward way to, in a method, wait for a message before continuing. what you'd do is split the task into multiple steps, and have a handler/matcher that triggers the next step
<dominikh>
and you'd carry around state for the specific user
<Lumio>
ok - so old-fashion, more or less
<Lumio>
thanks dominikh
<Lumio>
:)
<dominikh>
"stupid callback style", yeah
* dominikh
adds a note to consider that feature in his other IRC library
<dominikh>
that approach is less error-prone though, if the user manages to respond before you wait for the response
<dominikh>
as in, you won't miss a message
<Lumio>
mhm that’s true
<dominikh>
sort of, anyway. you will still do if the state isn't as expected