mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-22 02:27:44 +08:00
feat(ql3): establish 3.0 incubation baseline
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export type WorkerExecutionOfferJournalOwnershipState =
|
||||
| 'unowned'
|
||||
| 'owned'
|
||||
| 'releasing'
|
||||
| 'compromised';
|
||||
|
||||
export interface WorkerExecutionOfferJournalOwnership {
|
||||
ownershipState(): WorkerExecutionOfferJournalOwnershipState;
|
||||
acquireOwnership(): Promise<'acquired' | 'already_owned'>;
|
||||
releaseOwnership(): Promise<'released' | 'not_owned' | 'compromised'>;
|
||||
}
|
||||
Reference in New Issue
Block a user