uli
04/13/2021, 3:39 PMprivate suspend fun <T> (suspend () -> T).foo()
and
private suspend fun <T> bar(lambda: suspend () -> T)
I need to explicitly write suspend { delay(1) }.foo() but it’s fine to just call bar { delay(1) } without suspend keyworduli
04/13/2021, 4:06 PMRefactor->ChangeSignature which does not add the `supsend`keyword to the call site when refactoring from bar to foouli
04/13/2021, 4:19 PMsuspend keword. It’s an inline function just to help the compilerDominaezzz
04/13/2021, 6:57 PMuli
04/13/2021, 7:23 PM