BeforeCommitContext.tx ​Contract 2.0.0 · package sha256
a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e· generated fromconfigurator-runtime.d.tsbyservices/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.
Property of BeforeCommitContext · labs, @experimental · since 2.0.0
readonly tx: Tx;
Bound to the commit being prepared. Writes through it join that commit. Reads through it and
session (describe() included) see that commit: its writes and the assets it prepared, not
writes queued after it (spec section 6.1, O11). Asset loads through it throw HoloScopeError.
| Rule | Result |
|---|---|
| 1. Neutral name | pass: tx names no product |
| 2. A precedent | pass (through its owner BeforeCommitContext): Unity AnimationClip.SampleAnimation (row G36); Lexical registerNodeTransform (row G4); ProseMirror PluginSpec.appendTransaction (row G4) |
| 3. Two apps, or labs | labs (@experimental at a stable path, reached through has() or supports()): it graduates when a second app uses it; apps today: app-04c2774145, app-4762caacdc, app-f9a32142f1 |
| 4. The cheaper fix first | decided per need in Appendix B: rows G36, G4 (through its owner BeforeCommitContext) at tier labs, stable (a member only where no rule, data, asset or app code serves the need) |