1.0.0 • Published 2 years ago
@lido-nestjs/decorators v1.0.0
Nestjs Decorators
Nestjs Decorators for Lido Finance projects. Part of Lido NestJS Modules
Install
yarn add @lido-nestjs/decorators
Usage
OneAtTime
The decorator does not allow to call the method more than once at a time.
import { OneAtTime } from '@lido-nestjs/decorators';
export class TestService {
@OneAtTime()
async foo() {
// do some async work
}
}
1.0.0
2 years ago