forked from platypush/platypush
Updated CHANGELOG
This commit is contained in:
parent
c3fa3315f5
commit
a675fe6a92
2 changed files with 12 additions and 2 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -1,7 +1,15 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
Given the high speed of development in the first phase, changes are being reported only starting from v0.20.2.
|
Given the high speed of development in the first phase, changes are being
|
||||||
|
reported only starting from v0.20.2.
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Added support for web hooks returning their hook method responses back to the
|
||||||
|
HTTP client.
|
||||||
|
|
||||||
## [0.23.4] - 2022-08-28
|
## [0.23.4] - 2022-08-28
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,9 @@ class WebhookEvent(Event):
|
||||||
get_redis().rpush(self.args['response_queue'], output)
|
get_redis().rpush(self.args['response_queue'], output)
|
||||||
|
|
||||||
def wait_response(self, timeout=None):
|
def wait_response(self, timeout=None):
|
||||||
return get_redis().blpop(self.args['response_queue'], timeout=timeout)[1]
|
rs = get_redis().blpop(self.args['response_queue'], timeout=timeout)
|
||||||
|
if rs and len(rs) > 1:
|
||||||
|
return rs[1]
|
||||||
|
|
||||||
|
|
||||||
# vim:sw=4:ts=4:et:
|
# vim:sw=4:ts=4:et:
|
||||||
|
|
Loading…
Reference in a new issue