Quasar v0.7.3 Release Notes
Release Date: 2015-08-28 // over 8 years ago-
๐ฅ Breaking changes
- ๐ฆ Kotlin's
fiber
function has been moved to theco.paralleluniverse.kotlin
package, has several convenient overloads and by default will also start the fiber.
๐ New features
co.paralleluniverse.kotlin
also includes a convenientselect
syntax to perform channel selection:val ch1 = Channels.newChannel<Int>(1)val ch2 = Channels.newChannel<Int>(1) assertTrue ( fiber { select(Receive(ch1), Send(ch2, 2)) { it } }.get() is Send) ch1.send(1) assertTrue ( fiber { select(Receive(ch1), Send(ch2, 2)) { when (it) { is Receive -> it.msg is Send -> 0else -> -1 } } }.get() == 1)
โฑ The new
FiberForkJoinScheduler.onIdle()
hook notifies when the fiber scheduler becomes idle.
๐ Improvements
- โฌ๏ธ Several dependencies upgraded
Closed issues:
- ๐ฆ Kotlin's