Skip to content
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

Add sendAsync functions to web push service to support non-blocking calls #49

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

svenopdehipt
Copy link

I did add non blocking async (suspend) function as an alternative to the blocking non async functions.
I had to add one dependency to support this workflow (kotlinx-coroutines-core), which is an official Kotlin dependency from JetBrains. This did increase the jar file by 2 KB (from 24 KB to 26 KB), which shouldn't be a large impact (this should still be considered lightweight). Only the part with the zero dependency wouldn't be true, but it would only be 1 first party dependency. If you don't like this, you can just reject my request.

@svenopdehipt
Copy link
Author

I have now removed the third party dependency.

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.

None yet

1 participant