Skip to content

Commit 1456e89

Browse files
authored
[Event Hubs] Update sample (Azure#30582)
Addresses issue #4 in Azure#30555.
1 parent e3b922a commit 1456e89

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sdk/eventhub/event-hubs/samples-express/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"sideEffects": false,
3232
"dependencies": {
3333
"@azure/event-hubs": "^5.12.0",
34+
"@azure/abort-controller": "^2.1.2",
3435
"@azure/identity": "^4.3.0",
3536
"express": "^4.19.2",
3637
"uuid": "^8.3.1"

sdk/eventhub/event-hubs/samples-express/src/asyncBatchingProducer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
between sending batches.
1313
*/
1414

15-
import { AbortController, AbortError, AbortSignalLike } from "@azure/abort-controller";
15+
import { AbortError, AbortSignalLike } from "@azure/abort-controller";
1616
import { EventData, EventDataBatch, EventHubProducerClient } from "@azure/event-hubs";
1717

1818
export interface AsyncBatchingProducerOptions {

0 commit comments

Comments
 (0)