Skip to main content

CommitHookEvent

The CommitHookEvent class is the superclass for all events emitting in relation to commit hooks.

@group

Events/Hooks/Commit

@returns

The Event instance.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • optionalname: string
    • optionalpayload: void

    Returns CommitHookEvent

Properties

readonlyinheritedheader

header: { timestamp: number }

Type declaration

  • timestamp: number

readonlyinheritedname

name: string

readonlyinheritedpayload

payload: void

Methods

staticinheritedregistrar

  • registrar(...args: [EventService, PropertyDescriptor]): void
  • The registrar() method is explicitly called by the EventSource decorator for a method to enhance that method to auto-emit events.


    Parameters

    • rest...args: [EventService, PropertyDescriptor]

      Arguments are spread out using the array spread operator.

    Returns void