Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@adamgfraser
Copy link
Contributor

Implements toChunk operator on SingleThreadedRingBuffer to support using it as a sliding buffer. To support generic code I removed the constraint that A is a subtype of AnyRef.

@iravid
Copy link
Member

iravid commented Apr 12, 2021

Awesome! Can you merge this to series/2.x as well?

@adamgfraser
Copy link
Contributor Author

Will do!

@adamgfraser adamgfraser merged commit e5e7cc3 into zio:master Apr 12, 2021
@adamgfraser adamgfraser deleted the ringbuffer branch April 12, 2021 23:03
@jdegoes
Copy link
Member

jdegoes commented Apr 12, 2021

Great to have this. It's the "weakly consistent" guarantee we get from j.u.c collections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants