@elizarov I feel like I recently read/watched you say somewhere recently that you recommended a convention for coroutine functions, something like “if a function is
suspend
, it shouldn’t block the current thread”. Do you remember where that was (if it was in fact something you did say)?
Found it! From your Kotlin Conf talk this year, at 3559
https://youtu.be/a3agLJQ6vt8?t=2159▾
👍 1
m
Mark
11/03/2018, 3:32 AM
Is it okay to write a suspending function as an extension function to `SendChannel`bearing in mind that the caller may then do something like