Enumeration

Publishers.PrefetchStrategy

A strategy for filling a buffer.

Declaration

enum PrefetchStrategy

Topics

Prefetching Strategies

case byRequest

A strategy that avoids prefetching and instead performs requests on demand.

case keepFull

A strategy to fill the buffer at subscription time, and keep it full thereafter.

See Also

Buffering Elements

struct Publishers.Buffer

A publisher that buffers elements from an upstream publisher.

Beta
enum Publishers.BufferingStrategy

A strategy for handling exhaustion of a buffer’s capacity.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software