-
Notifications
You must be signed in to change notification settings - Fork 76
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
WIP: Add ktx library module #74
base: master
Are you sure you want to change the base?
Conversation
@Aksi0m the PR is not completely ready, but I wanted some early feedback from you, if you can manage. |
suspend fun authenticate( | ||
params: PromptParams, | ||
): Flow<Goldfinger.Result> | ||
|
||
suspend fun encrypt( | ||
params: PromptParams, | ||
key: String, | ||
value: String, | ||
): Flow<Goldfinger.Result> | ||
|
||
suspend fun decrypt( | ||
params: PromptParams, | ||
key: String, | ||
value: String, | ||
): Flow<Goldfinger.Result> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The functions returning Flow
should not be suspending, which you can do easily since in the implementation inGoldfingerFlow
is not suspending
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, will correct
Updated kotlint to 1.5.10 and coroutines to 1.5.0 |
@mdocevski-infinum & @davidvinf Guys, can we fix the conflicts & merge this PR? |
Quality Gate passedIssues Measures |
Added analog of GoldfingerRx that supports kotlin flows, named GoldfingerKtx in new module ktx.