Class: Conflow::Redis::ResolvePromisesScript Private
- Defined in:
- lib/conflow/redis/resolve_promises_script.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Resolves job’s promises
Class Method Summary collapse
- .call(_flow, job) ⇒ Object private
Methods inherited from Script
Class Method Details
.call(_flow, job) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
25 26 27 28 |
# File 'lib/conflow/redis/resolve_promises_script.rb', line 25 def call(_flow, job) promises = extract_keys(job.promises) super([job.params.key], promises) if promises.any? end |