Module: Fear::FutureApi
- Included in:
- Fear
- Defined in:
- lib/fear/future_api.rb
Overview
rubocop: disable Layout/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
22 23 24 |
# File 'lib/fear/future_api.rb', line 22 def future(**, &block) Future.new(nil, **, &block) end |