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 coroutines support - Part II #54

Open
wants to merge 8 commits into
base: add_coroutines_support_epic
Choose a base branch
from

Conversation

wching
Copy link
Contributor

@wching wching commented Oct 4, 2020

What was done

I created a package called coroutines. This package will contain every class that makes a reference to Kotlin coroutines.

Had to created the grants again with no reference to RxJava and adding the suspend keyword in the methods, whenever needed.

@wching wching self-assigned this Oct 4, 2020
Copy link

@tthiagomartinho tthiagomartinho left a comment

Choose a reason for hiding this comment

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

Hey @wching
I have a question here...
do we really need to add coroutines here? We could just have a flow that doesn't depend on anything and it is pure kotlin and sync. What do you think?

import java.util.Calendar

open class OAuth2AccessTokenManager(
private val mOAuth2AccessTokenStorage: OAuth2AccessTokenStorage

Choose a reason for hiding this comment

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

We can drop the m prefix here ;)

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

Successfully merging this pull request may close these issues.

None yet

3 participants