Skip to content

Conversation

@mpodwysocki
Copy link
Contributor

@mpodwysocki mpodwysocki commented Sep 5, 2024

Packages impacted by this PR

  • @azure/notification-hubs

Issues associated with this PR

Describe the problem that is addressed by this PR

Moves @azure/notification-hubs to @azure/core-lro v3

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?

Are there test cases added in this PR? (If not, why?)

Provide a list of related PRs (if any)

Command used to generate this PR:**(Applicable only to SDK release request PRs)

Checklists

  • Added impacted package name to the issue description
  • Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
  • Added a changelog (if necessary)

@mpodwysocki mpodwysocki requested review from a team, bterlson and jeremymeng as code owners September 5, 2024 21:37
@mpodwysocki mpodwysocki requested a review from joheredi September 5, 2024 21:37
@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

@azure/notification-hubs

@mpodwysocki mpodwysocki merged commit f169f9e into main Sep 5, 2024
@mpodwysocki mpodwysocki deleted the feat/nhub-lro branch September 5, 2024 22:03

const poller: SimplePollerLike<OperationState<NotificationHubJob>, NotificationHubJob> = {
async poll(options?: { abortSignal?: AbortSignalLike }): Promise<void> {
const poller: PollerLike<OperationState<NotificationHubJob>, NotificationHubJob> = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just curious why not leverage the buildCreatePoller from core-lro directly

export function buildCreatePoller<TResponse, TResult, TState extends OperationState<TResult>>(

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not exported at the top level of core-lro, hence why it cannot be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants