Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
types(back-end): make state for shared asynchronous operation
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Oct 15, 2022
1 parent d0dc895 commit 53734e1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions common_back-end/types/dependent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,10 @@ export interface SharedManagerState<
cache: CacheClient,
transaction: T
}

export interface SharedAsynchronousOperationState<
T extends TransactionManagerInterface = TransactionManagerInterface,
U extends TransactionManagerInterface = TransactionManagerInterface
> extends SharedManagerState<T> {
asynchronousOperation: U
}

0 comments on commit 53734e1

Please sign in to comment.