ProcessCloseHandler type
Podpis funkcji udostępnionej przez użytkownika wywoływanej przez EventHubConsumerClient tuż po zatrzymaniu odbierania zdarzeń z partycji.
type ProcessCloseHandler = (
reason: CloseReason,
context: PartitionContext
) => Promise<void>