Construction
- public function __construct($future) — To construct, pass an @{class:ExecFuture}.
Internals
- public function __destruct() — On destruction, we terminate the subprocess if it hasn't exited already.
- protected function willRewind() — The PHP `foreach()` construct calls rewind() once, so we allow the first `rewind()`, without effect. Subsequent rewinds mean misuse.
- protected function readMore() — Read more data from the subprocess.