Skip to content

Conversation

@AbhiPrasad
Copy link
Member

No description provided.

* but is not async internally
*/
class SyncPromise<T> implements PromiseLike<T> {
export class SyncPromise<T> implements PromiseLike<T> {
Copy link
Member Author

Choose a reason for hiding this comment

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

I wonder if we can remove all sync promise usage in browser environments and only use it for node.

@AbhiPrasad AbhiPrasad added this to the Treeshaking / Bundle Size milestone Dec 16, 2021
@github-actions
Copy link
Contributor

size-limit report

Path Base Size (b8dc945) Current Size Change
@sentry/browser - CDN Bundle (gzipped) 21.01 KB 20.99 KB -0.07% 🔽
@sentry/browser - CDN Bundle (minified) 66.97 KB 66.85 KB -0.18% 🔽
@sentry/browser - Webpack 22.79 KB 22.84 KB +0.2% 🔺
@sentry/browser - Webpack - gzip = false 78.2 KB 78.1 KB -0.14% 🔽
@sentry/react - Webpack 22.82 KB 22.87 KB +0.2% 🔺
@sentry/nextjs Client - Webpack 47.34 KB 47.35 KB +0.02% 🔺
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 29.35 KB 29.33 KB -0.05% 🔽

@AbhiPrasad AbhiPrasad force-pushed the abhi-sync-promise-static branch from c9b54ab to 29774ca Compare December 16, 2021 15:38
@AbhiPrasad
Copy link
Member Author

Closing due to low value.

@AbhiPrasad AbhiPrasad closed this Dec 16, 2021
@AbhiPrasad AbhiPrasad deleted the abhi-sync-promise-static branch December 16, 2021 16:24
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.

2 participants