Skip to main content

Module sliced

Module sliced 

Source
Expand description

Utilities for transforming live collections via slicing.

Modules§

style
Styled wrappers for live collections used with the sliced! macro.

Macros§

sliced
Transforms a live collection with a computation relying on a slice of another live collection. This is useful for reading a snapshot of an asynchronously updated collection while processing another collection, such as joining a stream with the latest values from a singleton.

Traits§

Slicable
A trait for live collections which can be sliced into bounded versions at a tick.
Unslicable
A trait for live collections which can be yielded out of a slice back into their original form.

Functions§

yield_atomic
Marks this live collection as atomically-yielded, which means that the output outside sliced will be at an atomic location that is synchronous with respect to the body of the slice.