Skip to content

Fix async version of publish(data:) #238

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Conversation

hiroshihorie
Copy link
Member

@hiroshihorie hiroshihorie commented Aug 22, 2023

Compiler was resolving to Promise version of publish(data:) even when awaited because only the promise version had default options = nil. Now the async version has the default options = nil so the compiler will correctly resolve to the async version when awaited.

Non-breaking fix.

@hiroshihorie hiroshihorie requested a review from davidzhao August 22, 2023 09:05
@hiroshihorie hiroshihorie merged commit c9b1a64 into main Aug 22, 2023
@hiroshihorie hiroshihorie deleted the fix-publish-data-async branch August 22, 2023 09:08
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.

1 participant