Class: Temporalio::Worker::Plugin::RunWorkerOptions
- Inherits:
-
Data
- Object
- Data
- Temporalio::Worker::Plugin::RunWorkerOptions
- Defined in:
- lib/temporalio/worker/plugin.rb,
lib/temporalio/worker/plugin.rb
Overview
Additional required attributes of this class may be added in the future. Users should never instantiate this class, but instead use with on it in #run_worker.
Options for #run_worker.
The options contain the worker and some other options from Temporalio::Worker#run/Temporalio::Worker.run_all. Unlike other memebers in this class, mutating the worker member before invoking the next call in the chain has no effect.
Instance Attribute Summary collapse
-
#cancellation ⇒ Object
readonly
Returns the value of attribute cancellation.
-
#raise_in_block_on_shutdown ⇒ Object
readonly
Returns the value of attribute raise_in_block_on_shutdown.
-
#shutdown_signals ⇒ Object
readonly
Returns the value of attribute shutdown_signals.
-
#worker ⇒ Object
readonly
Returns the value of attribute worker.
Instance Attribute Details
#cancellation ⇒ Object (readonly)
Returns the value of attribute cancellation
12 13 14 |
# File 'lib/temporalio/worker/plugin.rb', line 12 def cancellation @cancellation end |
#raise_in_block_on_shutdown ⇒ Object (readonly)
Returns the value of attribute raise_in_block_on_shutdown
12 13 14 |
# File 'lib/temporalio/worker/plugin.rb', line 12 def raise_in_block_on_shutdown @raise_in_block_on_shutdown end |
#shutdown_signals ⇒ Object (readonly)
Returns the value of attribute shutdown_signals
12 13 14 |
# File 'lib/temporalio/worker/plugin.rb', line 12 def shutdown_signals @shutdown_signals end |
#worker ⇒ Object (readonly)
Returns the value of attribute worker
12 13 14 |
# File 'lib/temporalio/worker/plugin.rb', line 12 def worker @worker end |