mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-10 11:28:45 +00:00
15 lines
373 B
TypeScript
15 lines
373 B
TypeScript
import { Global, Module } from '@nestjs/common';
|
|
|
|
import { BucketService } from './bucket';
|
|
import { MutexService } from './mutex';
|
|
|
|
@Global()
|
|
@Module({
|
|
providers: [BucketService, MutexService],
|
|
exports: [BucketService, MutexService],
|
|
})
|
|
export class MutexModule {}
|
|
|
|
export { BucketService, MutexService };
|
|
export { LockGuard, MUTEX_RETRY, MUTEX_WAIT } from './mutex';
|