Interface: OpControl
Defined in: src/wrappers/with-assembly.ts:18
Narrow seam onto the live op-control consumer (AAASM-3491).
The wrapper only needs to wait until an op is runnable — a pause blocks
here cooperatively, a terminate rejects with OpTerminatedError.
Depending on this strip rather than the concrete OpControlSubscriber keeps
the wrapper decoupled from the gRPC transport and lets tests drive it without
a live stream; the real OpControlSubscriber satisfies it structurally. This
mirrors the Python companion's build_governance_interceptor(op_control=...)
seam.
Methods
waitForOp()
waitForOp(
opId,opts?):Promise<void>
Defined in: src/wrappers/with-assembly.ts:19
Parameters
opId
string
opts?
timeoutMs?
number
Returns
Promise<void>