Skip to main content

CloudEventsReceiverEvents

@webda/cloudevents


Type Alias: CloudEventsReceiverEvents

CloudEventsReceiverEvents = object

Defined in: cloudevents/src/services/cloudeventsreceiver.service.ts:51

Events emitted by the CloudEventsReceiver

Properties​

CloudEvents.Failed​

CloudEvents.Failed: object

Defined in: cloudevents/src/services/cloudeventsreceiver.service.ts:63

A handler of the event failed: the delivery is refused with a 5xx (or the status of the error)

context​

context: WebContext

error​

error: Error

event​

event: CloudEvent


CloudEvents.Handled​

CloudEvents.Handled: object

Defined in: cloudevents/src/services/cloudeventsreceiver.service.ts:59

Every handler of the event succeeded

context​

context: WebContext

event​

event: CloudEvent

handlers​

handlers: number

reply?​

optional reply?: CloudEvent


CloudEvents.Received​

CloudEvents.Received: object

Defined in: cloudevents/src/services/cloudeventsreceiver.service.ts:55

An event passed the validation, the filters and the dedupe, before its handlers run

context​

context: WebContext

event​

event: CloudEvent