Quasar v0.7.3 Release Notes

Release Date: 2015-08-28 // over 5 years ago
  • ๐Ÿ’ฅ Breaking changes

    • ๐Ÿ“ฆ Kotlin's fiber function has been moved to the co.paralleluniverse.kotlin package, has several convenient overloads and by default will also start the fiber.

    ๐Ÿ†• New features

    • co.paralleluniverse.kotlin also includes a convenient select 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: