disclose
rule permits { kind: "custody", component } naming this component, the
consent its scheduled work already needs, decided again at each response.
The holder is always the calling component.
Methods
registerWorker
▸ registerWorker(digest, options): Promise<void>
Register the worker whose bearer credential hashes (SHA-256, lowercase
hex) to digest until until (Unix milliseconds, at most 30 days
ahead). Requires a deployment administrator with export authority in the
calling transaction. A digest is registered once; rotate with a new
credential. A component keeps at most 256 live workers.
Parameters
Returns
Promise<void>
revokeWorker
▸ revokeWorker(digest): Promise<boolean>
End this component’s registration of digest, if it has one, in this
commit: no later response reaches that worker. Returns whether one ended.
Parameters
Returns
Promise<boolean>