-
Notifications
You must be signed in to change notification settings - Fork 77
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? |
|
Added analog of GoldfingerRx that supports kotlin flows, named GoldfingerKtx in new module ktx.