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.
102 |
# File 'sig/types.rbs', line 102
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.
100 101 102 |
# File 'sig/types.rbs', line 100 def drain_timeout_secs @drain_timeout_secs end |
#max_concurrent_tasks ⇒ Integer?
Returns the value of attribute max_concurrent_tasks.
99 100 101 |
# File 'sig/types.rbs', line 99 def max_concurrent_tasks @max_concurrent_tasks end |
#max_queue_size ⇒ Integer?
Returns the value of attribute max_queue_size.
98 99 100 |
# File 'sig/types.rbs', line 98 def max_queue_size @max_queue_size end |
Class Method Details
.default ⇒ BackgroundTaskConfig
103 |
# File 'sig/types.rbs', line 103
def self.default: () -> BackgroundTaskConfig
|