Module: Fear::FutureApi
- Included in:
- Fear
- Defined in:
- lib/fear/future_api.rb
Overview
rubocop: disable Metrics/LineLength
Instance Method Summary collapse
-
#future(options = {}, &block) ⇒ Fear::Future
Asynchronously evaluates the block.
Instance Method Details
#future(options = {}, &block) ⇒ Fear::Future
Asynchronously evaluates the block
16 17 18 |
# File 'lib/fear/future_api.rb', line 16 def future( = {}, &block) Future.new(, &block) end |