Skip to content

Commit

Permalink
Reorder flow action params
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawnnypoo committed Aug 8, 2024
1 parent cd8c6da commit 4a7182b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ interface FlowAction<Event> : Action<Event> {
* @param key Used to distinguish this [Action] from other actions.
*/
inline fun <Event> fromFlow(
scope: CoroutineScope = MainScope(),
key: Any?,
scope: CoroutineScope = MainScope(),
crossinline create: () -> Flow<Event>
): Action<Event> {
return object : FlowAction<Event> {
Expand Down

0 comments on commit 4a7182b

Please sign in to comment.