Instance Method

buffer(size:prefetch:whenFull:)

No overview available.

Declaration

func buffer(size: Int, prefetch: Publishers.PrefetchStrategy, whenFull: Publishers.BufferingStrategy<Self.Failure>) -> Publishers.Buffer<Self>

See Also

Buffering Elements

enum Publishers.PrefetchStrategy

A strategy for filling a buffer.

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