@divstake-nestjs/decorators
v0.0.1
Published
Nestjs Decorators for Lido Finance projects. Part of [DivStake NestJS Modules](https://github.com/skaibaLab/divstake-nestjs-modules/#readme)
Maintainers
Readme
Nestjs Decorators
Nestjs Decorators for Lido Finance projects. Part of DivStake NestJS Modules
Install
yarn add @divstake-nestjs/decoratorsUsage
OneAtTime
The decorator does not allow to call the method more than once at a time.
import { OneAtTime } from '@divstake-nestjs/decorators';
export class TestService {
@OneAtTime()
async foo() {
// do some async work
}
}