mirror of
https://github.com/morluto/rea.git
synced 2026-10-28 18:35:53 +00:00
docs(process): preserve capture invariants
This commit is contained in:
1 parent
ba15d16c58
commit
841990bde1
33 files changed
+214
-128
No files matched your search
@@ -17,6 +17,9 @@
|
||||
<div class="tsd-signature tsd-anchor-link" id="cleanupownedprocessgroup"><span class="tsd-kind-call-signature">cleanupOwnedProcessGroup</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">ownership</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/application_ProcessOwnership.OwnedProcessGroup.html" class="tsd-signature-type tsd-kind-interface">OwnedProcessGroup</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">host</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/application_ProcessOwnership.ProcessOwnershipHost.html" class="tsd-signature-type tsd-kind-interface">ProcessOwnershipHost</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/application_ProcessOwnership.ProcessCleanupResult.html" class="tsd-signature-type tsd-kind-type-alias">ProcessCleanupResult</a><span class="tsd-signature-symbol">></span><a href="#cleanupownedprocessgroup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
||||
<div class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Verify run-token ownership before signaling a POSIX process group.</p>
|
||||
<p>Process IDs and group IDs can be reused. REA therefore re-reads every live
|
||||
member's environment immediately before signaling and fails closed if any
|
||||
member cannot be inspected or lacks the per-capture run token.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
@@ -25,7 +28,7 @@
|
||||
<li><span><span class="tsd-kind-parameter">host</span>: <a href="../interfaces/application_ProcessOwnership.ProcessOwnershipHost.html" class="tsd-signature-type tsd-kind-interface">ProcessOwnershipHost</a><span class="tsd-signature-symbol"> = systemHost</span></span></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/application_ProcessOwnership.ProcessCleanupResult.html" class="tsd-signature-type tsd-kind-type-alias">ProcessCleanupResult</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/morluto/rea/blob/main/src/application/ProcessOwnership.ts#L82">src/application/ProcessOwnership.ts:82</a></li></ul></aside></div></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/morluto/rea/blob/main/src/application/ProcessOwnership.ts#L91">src/application/ProcessOwnership.ts:91</a></li></ul></aside></div></li></ul></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
|
||||
Reference in new issue
Block a user