Commit Graph

4 Commits

Author SHA1 Message Date
janherich e2f36d4935 Be more defensive when checking user balance 2017-09-25 19:54:40 +02:00
Jan Herich 805d874846 Fix #1886 (#1894)
* Fix #1886

Completly rework the way how async handlers work

Delay further processing of message till async handler returns result

* Fix indent

* Fix #1903
2017-09-21 14:08:51 +03:00
Jan Herich b889a07a86 Implement possibility for async command handlers (#1857)
* Implement possibility for async command handlers

Command handler can now return results asynchronously,
and those results as saved and persisted, indexed by
command message-id.

* Address feedback raised in PR comments

* Different handler codes + simplified error message
2017-09-18 16:08:06 +03:00
Andrey Shovkoplyas 883b702fcb Introduced new hierarchy ,refactored core 2017-08-14 13:42:20 +03:00