@espressif/rainmaker-base-cdf
    Preparing search index...

    Class ESPCDFOperationEventEmitter<TEntity, TOperation>

    Type Parameters

    • TEntity
    • TOperation extends string
    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • Emit an operation event to all registered listeners

      Parameters

      • entity: TEntity

        The entity that triggered the operation

      • operation: TOperation

        The operation type

      • success: boolean

        Whether the operation succeeded

      • Optionaldata: any

        Optional data returned from the operation

      • Optionalerror: any

        Optional error if operation failed

      Returns void