Kiran Rao
Kiran Rao
I'm having trouble writing unit tests for the implementation in https://github.com/Kotlin/kotlinx.coroutines/pull/1315#issuecomment-525338743 Here's what I've tried. ```kotlin @Test fun `When receiver flow emits then resulting flow emits`() { val firstFlowChannel =...
@elizarov Thanks. That worked. If I change `assertEquals(true, receiveChannel.isEmpty)` the test passes. Do I understand correctly that `flow.produceIn()` does not actually trigger the processing; but rather it is `channel.receive()` that...
Hadn't thought of that. Maybe you could just have a field "license" that basically takes an enum - say "lgplv3" or "asl2.0" etc. It could have "proprietary" or "unknown" for...
Sorry I did not mean that other libraries mention it in their documentation. I meant that there seems to not be agreement among libraries on how to escape dots. For...
I haven't used Kable but I'm evaluating it. I came across this request for adding L2CAP support. Is there a way to achieve this today without waiting for the library...
I also saw this exception and it is reproducible reliably in my app, but it is a convoluted scenario. I worked around it. But I'll try to explain to the...
I understand why this was closed. I'm wondering if it makes sense for Kable to somehow expose the underlying `CBCentralManager` though. Because unlike Android where BluetoothManager is a singleton, on...
I see issues in my app when using a separate instance of CBCentralManager just for bluetooth state availability. In particular, it looks like takes a while for CBCentralManager to "settle"....
I will try to put together an MCVE. Before that, I want to clarify a couple of things. Maybe it helps you if I start with my motivation for this...
Alright I could not repro the flakiness in a standalone project. Looks like there's some other mistake in the way I'm using the APIs. For completeness, here's the code I...