Class: Spikard::BackgroundTaskConfig
- Inherits:
-
Object
- Object
- Spikard::BackgroundTaskConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#drain_timeout_secs ⇒ Integer?
Returns the value of attribute drain_timeout_secs.
-
#max_concurrent_tasks ⇒ Integer?
Returns the value of attribute max_concurrent_tasks.
-
#max_queue_size ⇒ Integer?
Returns the value of attribute max_queue_size.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ BackgroundTaskConfig
constructor
A new instance of BackgroundTaskConfig.
Constructor Details
#initialize ⇒ BackgroundTaskConfig
Returns a new instance of BackgroundTaskConfig.
86 |
# File 'sig/types.rbs', line 86
def initialize: (?max_queue_size: Integer, ?max_concurrent_tasks: Integer, ?drain_timeout_secs: Integer) -> void
|
Instance Attribute Details
#drain_timeout_secs ⇒ Integer?
Returns the value of attribute drain_timeout_secs.
84 85 86 |
# File 'sig/types.rbs', line 84 def drain_timeout_secs @drain_timeout_secs end |
#max_concurrent_tasks ⇒ Integer?
Returns the value of attribute max_concurrent_tasks.
83 84 85 |
# File 'sig/types.rbs', line 83 def max_concurrent_tasks @max_concurrent_tasks end |
#max_queue_size ⇒ Integer?
Returns the value of attribute max_queue_size.
82 83 84 |
# File 'sig/types.rbs', line 82 def max_queue_size @max_queue_size end |
Class Method Details
.default ⇒ BackgroundTaskConfig
87 |
# File 'sig/types.rbs', line 87
def self.default: () -> BackgroundTaskConfig
|