class Concurrent::Promise
def on_success(&block)
-
(Promise)
- self
Other tags:
- Yield: - The block to execute
def on_success(&block) raise ArgumentError.new('no block given') unless block_given? self.then(&block) end
(Promise)
- self
def on_success(&block) raise ArgumentError.new('no block given') unless block_given? self.then(&block) end