Magek Framework
    Preparing search index...

    Function partitionKey

    • Optional decorator that marks a field in a notification class as the partition key. This is useful if you want to guarantee that all the event handlers for notifications of the same type will be executed in the same order.

      Can be used as both a parameter decorator and property decorator.

      Parameters

      • target: Object | Class<NotificationInterface> | undefined
      • OptionalpropertyKeyOrContext: string | symbol | Stage3FieldContext
      • OptionalparameterIndex: number

      Returns void