Andrea Giuliano
09/24/2020, 5:09 PMwithTimeout
function and I’ve noticed that if the block inside is not a suspending function, withTimeout simply does nothing.
Is that the expected behaviour? I know from the spec it’s stated that the block is a suspending block. However I was expecting at least some error or warning if the block is not suspending. Anything I’m missing here?streetsofboston
09/24/2020, 5:10 PMAndrea Giuliano
09/24/2020, 5:12 PMstreetsofboston
09/24/2020, 5:40 PMlouiscad
09/25/2020, 7:34 AMwithTimeout
+ runInterruptible
if the blocking code is interruptible though.Andrea Giuliano
09/25/2020, 7:35 AM