Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DecoratorOptions

This is an option when setting the decorator.

Hierarchy

Index

Properties

Optional clone

clone: undefined | false | true

Specify "false" if you do not want to duplicate the payload object passed when the asynchronous process succeeds. The default is "true" and is always duplicated. This is to prevent the value used in other logic from being changed unintentionally when the implementation side that receives the payload object modifies the object.

Optional createCondition

createCondition: CombineConditionFactory

This decorator will automatically generate asynchronous process execution conditions from the method arguments unless specified. In most cases that's fine, but if you want to customize this process, you can overwrite it according to this type. The order and types of the arguments are all the same as for methods that use decorators.

Optional delay

delay: undefined | number

When delaying the start of asynchronous processing, specify the waiting time (ms). This option is useful in situations where users frequently make asynchronous operation change requests.

Generated using TypeDoc