Functions
QConcurrency
- QConcurrency(queuesParam: Array<{ isStatic?: boolean; limit: number; tag?: string | symbol }>): ClassDecorator
-
Parameters
-
queuesParam: Array<{ isStatic?: boolean; limit: number; tag?: string | symbol }>
Returns ClassDecorator
concurrent
- concurrent(target: any, propertyKey: string, descriptor: PropertyDescriptor): void
- concurrent(option?: { dropWhenReachLimit?: boolean; inheritPreErr?: boolean; noBlockCurr?: boolean; tag?: string | symbol }): MethodDecoratorType
-
Parameters
-
target: any
-
propertyKey: string
-
descriptor: PropertyDescriptor
Returns void
-
Parameters
-
Optional option: { dropWhenReachLimit?: boolean; inheritPreErr?: boolean; noBlockCurr?: boolean; tag?: string | symbol }
-
Optional dropWhenReachLimit?: boolean
-
Optional inheritPreErr?: boolean
-
Optional noBlockCurr?: boolean
-
Optional tag?: string | symbol
Returns MethodDecoratorType
synchronized
- synchronized(target: any, propertyKey: string, descriptor: PropertyDescriptor): void
- synchronized(option?: { inheritPreErr?: boolean; noBlockCurr?: boolean; tag?: string | symbol }): MethodDecoratorType
-
Parameters
-
target: any
-
propertyKey: string
-
descriptor: PropertyDescriptor
Returns void
-
Parameters
-
Optional option: { inheritPreErr?: boolean; noBlockCurr?: boolean; tag?: string | symbol }
-
Optional inheritPreErr?: boolean
-
Optional noBlockCurr?: boolean
-
Optional tag?: string | symbol
Returns MethodDecoratorType
Class decorator to setup concurrency for queues