Options
All
  • Public
  • Public/Protected
  • All
Menu

@azure/event-hubs

Package version

Index

Type aliases

OnAbort

OnAbort: function

Describes the abort handler signature.

Type declaration

    • (): void
    • Returns void

OnCloseHandler

OnCloseHandler: function

Called when we stop processing events from a partition.

Type declaration

OnError

OnError: function

Describes the error handler signature.

Type declaration

    • (error: MessagingError | Error): void
    • Parameters

      • error: MessagingError | Error

      Returns void

OnErrorHandler

OnErrorHandler: function

Called when errors occur during event receiving.

Type declaration

OnInitializeHandler

OnInitializeHandler: function

Called when we first start processing events from a partition.

Type declaration

OnMessage

OnMessage: function

Describes the message handler signature.

Type declaration

OnReceivedEvents

OnReceivedEvents: function

Event handler called when events are received. The context parameter can be used to get partition information as well as to checkpoint.

Type declaration

Functions

createMessageSpan

  • createMessageSpan(parentSpan?: Span | SpanContext): Span

extractSpanContextFromEventData

  • extractSpanContextFromEventData(eventData: EventData): SpanContext | undefined

Generated using TypeDoc