File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -122,26 +122,33 @@ export class Transaction {
122122 return this . _pinnedServer ;
123123 }
124124
125+ /** @internal */
125126 get recoveryToken ( ) : Document | undefined {
126127 return this . _recoveryToken ;
127128 }
128129
130+ /** @internal */
129131 get isPinned ( ) : boolean {
130132 return ! ! this . server ;
131133 }
132134
133- /** @returns Whether the transaction has started */
135+ /**
136+ * @internal
137+ * @returns Whether the transaction has started
138+ */
134139 get isStarting ( ) : boolean {
135140 return this . state === TxnState . STARTING_TRANSACTION ;
136141 }
137142
138143 /**
144+ * @internal
139145 * @returns Whether this session is presently in a transaction
140146 */
141147 get isActive ( ) : boolean {
142148 return ACTIVE_STATES . has ( this . state ) ;
143149 }
144150
151+ /** @internal */
145152 get isCommitted ( ) : boolean {
146153 return COMMITTED_STATES . has ( this . state ) ;
147154 }
You can’t perform that action at this time.
0 commit comments