File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
workflow-core/src/commonMain/kotlin/com/squareup/workflow1 Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,6 @@ public fun <T1, T2> Sink<T1>.contraMap(transform: (T2) -> T1): Sink<T2> = Sink {
44
44
* is a lot of contention on the workflow runtime the flow will be suspended while the action is
45
45
* queued.
46
46
*
47
- * This method is intended to be used from [BaseRenderContext.runningSideEffect].
48
- *
49
47
* Example:
50
48
* ```
51
49
* context.runningSideEffect("collector") {
@@ -55,7 +53,7 @@ public fun <T1, T2> Sink<T1>.contraMap(transform: (T2) -> T1): Sink<T2> = Sink {
55
53
* }
56
54
* ```
57
55
*/
58
- internal suspend fun <T , PropsT , StateT , OutputT > Flow<T>.collectToSink (
56
+ public suspend fun <T , PropsT , StateT , OutputT > Flow<T>.collectToSink (
59
57
actionSink : Sink <WorkflowAction <PropsT , StateT , OutputT >>,
60
58
handler : (T ) -> WorkflowAction <PropsT , StateT , OutputT >
61
59
) {
You can’t perform that action at this time.
0 commit comments