diff options
author | Azul <azul@riseup.net> | 2016-09-19 09:51:38 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-09-19 09:51:38 +0200 |
commit | a1c7d68b05f142322a190b450971d27c076310a9 (patch) | |
tree | 75b171436d9f1109025904fda4cc650b2570a74b /test/integration/nickserver_test.rb | |
parent | d3c9ec2c815a4cd79cfaf40d1de0365fdec90cb2 (diff) |
refactor: separate handler chain from dispatcher
Handler Chain is of handlers that respond to call.
Invoking handle(*args) on the chain will call the handlers with the given args
until one of them returns a result that is truethy (i.e. not false or nil).
Extracted from the dispatcher so we can also handle exceptions there in the
future. (So that if one of the network connections to the request_handlers
fails we can continue while still tracking the failed exception.)
Diffstat (limited to 'test/integration/nickserver_test.rb')
0 files changed, 0 insertions, 0 deletions