refactor: remove the orphaned transaction-result type left behind by the dead-path removal
This commit is contained in:
parent
5b2cbf74e5
commit
edf123a5e2
1 changed files with 0 additions and 20 deletions
|
|
@ -66,26 +66,6 @@ export interface TransactionContext {
|
||||||
*/
|
*/
|
||||||
export type TransactionFunction<T> = (ctx: TransactionContext) => Promise<T>
|
export type TransactionFunction<T> = (ctx: TransactionContext) => Promise<T>
|
||||||
|
|
||||||
/**
|
|
||||||
* Transaction execution result
|
|
||||||
*/
|
|
||||||
export interface TransactionResult<T> {
|
|
||||||
/**
|
|
||||||
* Result value from user function
|
|
||||||
*/
|
|
||||||
value: T
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Number of operations executed
|
|
||||||
*/
|
|
||||||
operationCount: number
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Execution time in milliseconds
|
|
||||||
*/
|
|
||||||
executionTimeMs: number
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Transaction execution options
|
* Transaction execution options
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue