yruslan / channel_scala

Scala implementation of the concurrency primitive similar to GoLang channels.
Apache License 2.0
8 stars 0 forks source link

Implement a 'priority select' #15

Closed yruslan closed 11 months ago

yruslan commented 11 months ago

Describe the feature

A 'priority select' is a kind of select where if more than one channel operation can be triggered, the one specified first will be triggered first. Normally, select() triggers operations randomly based if more than one is available.