Dialog needs cancel timeout function for error handling
Opened this issue · 3 comments
timkinnane commented
If there's a error in a conversation (e.g. my from external integration / API) we need a method to abort conversation and force the timeout so users don't have to wait 30 seconds for a follow up message (assuming the error triggered its own message).
p.s. Thanks for this awesome script.
timkinnane commented
My current workaround is to do dialog.dialogTimeout = null
removing the response, but it doesn't actually cancel the timeout, which is still ticking and may cause conversation bugs if they try and start again when the last one is still active.
lmarkus commented
Makes sense.
Hopefully I can work on this in the next two weeks. I'm pretty much up to my ears at the moment :)
timkinnane commented
Thanks Lenny, no pressure.