共用方式為


ProcessCloseHandler type

使用者提供的函 EventHubConsumerClient 式簽章,在停止以接收資料分割的事件之後叫用。

type ProcessCloseHandler = (
  reason: CloseReason,
  context: PartitionContext
) => Promise<void>