import Ġkotlinx . coroutines . Deferred Ċ import Ġkotlinx . coroutines . channels . Channel Ċ import Ġkotlinx . coroutines . run Blocking Ċ import Ġkotlinx . coroutines . with Timeout Ċ Ċ internal Ġfun Ġ< T > ĠChannel < T >. receive Blocking WithTimeout ( timeout Millis : ĠLong ): ĠT Ġ= Ġrun Blocking Ġ{ ĊĠ Ġwith Timeout ( timeout Millis ) Ġ{ Ġreceive () Ġ} Ċ } Ċ Ċ internal Ġfun Ġ< T > ĠDeferred < T >. await Blocking (): ĠT Ġ= Ġrun Blocking Ġ{ Ġawait () Ġ} Ċ