Skip to main content

ModelSerializedEvent

This event is emitted when models are serialized to an output.

@group

Events/Serialization

@returns

The Event instance.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

readonlyinheritedheader

header: { timestamp: number }

Type declaration

  • timestamp: number

readonlyinheritedname

name: string

readonlyinheritedpayload

Methods

staticregistrar

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


    Parameters

    • eventService: EventService
    • descriptor: PropertyDescriptor

    Returns void