Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update README with async API
  • Loading branch information
mpodwysocki committed Nov 23, 2020
1 parent 9288002 commit ffa63a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -40,7 +40,7 @@ The Azure Notification Hubs SDK for Java support both synchronous and asynchrono
// Synchronous
NotificationHubDescription hub = new NotificationHubDescription("hubname");
hub.setWindowsCredential(new WindowsCredential("sid","key"));
NotificationHubDescription hubDescription = namespaceManager.createNotificationHubAsync(hub);
NotificationHubDescription hubDescription = namespaceManager.createNotificationHub(hub);

// Asynchronous
NotificationHubDescription hub = new NotificationHubDescription("hubname");
Expand Down

0 comments on commit ffa63a8

Please sign in to comment.