Class: Canopus::Runner
- Inherits:
-
Object
- Object
- Canopus::Runner
- Defined in:
- sig/task.rbs
Defined Under Namespace
Classes: Output
Constant Summary collapse
- MAX_OUTPUTS =
- MAX_CLOSERS =
- STOP_GRACE_SECONDS =
Instance Attribute Summary collapse
-
#active_index ⇒ Integer
readonly
Returns the value of attribute active_index.
Instance Method Summary collapse
- #activate ⇒ Output
- #active ⇒ Output?
- #close ⇒ nil
- #completed ⇒ Array[Output]
- #drain {|arg0, arg1, arg2| ... } ⇒ Object
- #entries ⇒ Array[Output]
-
#initialize ⇒ Runner
constructor
A new instance of Runner.
- #pending? ⇒ Boolean
- #remove ⇒ Output?
- #resize ⇒ void
- #run ⇒ Output
- #running? ⇒ Boolean
- #stop ⇒ Boolean
- #terminal ⇒ Tarazed::PTY?
Constructor Details
#initialize ⇒ Runner
Returns a new instance of Runner.
53 |
# File 'sig/task.rbs', line 53
def initialize: (scrollback: Integer, queue_limit_bytes: Integer, ?terminal_factory: untyped, ?report: untyped) -> void
|
Instance Attribute Details
#active_index ⇒ Integer (readonly)
Returns the value of attribute active_index.
52 53 54 |
# File 'sig/task.rbs', line 52 def active_index @active_index end |
Instance Method Details
#close ⇒ nil
67 |
# File 'sig/task.rbs', line 67
def close: () -> nil
|
#drain(max_bytes:, max_seconds:) ⇒ Boolean #drain(max_bytes:, max_seconds:) ⇒ Boolean
63 64 |
# File 'sig/task.rbs', line 63
def drain: (max_bytes: Integer, ?max_seconds: Numeric) -> bool
| (max_bytes: Integer, ?max_seconds: Numeric) { (Output, String?, Numeric) -> untyped } -> bool
|
#pending? ⇒ Boolean
65 |
# File 'sig/task.rbs', line 65
def pending?: () -> bool
|
#resize ⇒ void
This method returns an undefined value.
66 |
# File 'sig/task.rbs', line 66
def resize: (Integer columns, Integer rows) -> void
|
#running? ⇒ Boolean
61 |
# File 'sig/task.rbs', line 61
def running?: (?Output? output) -> bool
|
#stop ⇒ Boolean
60 |
# File 'sig/task.rbs', line 60
def stop: (?Output? output) -> bool
|
#terminal ⇒ Tarazed::PTY?
56 |
# File 'sig/task.rbs', line 56
def terminal: () -> Tarazed::PTY?
|