MCPcopy Create free account
hub / github.com/ReactiveX/RxGo / WithBackPressureStrategy

Function WithBackPressureStrategy

options.go:154–158  ·  view source on GitHub ↗

WithBackPressureStrategy sets the back pressure strategy: drop or block.

(strategy BackpressureStrategy)

Source from the content-addressed store, hash-verified

152
153// WithBackPressureStrategy sets the back pressure strategy: drop or block.
154func WithBackPressureStrategy(strategy BackpressureStrategy) Option {
155 return newFuncOption(func(options *funcOption) {
156 options.backPressureStrategy = strategy
157 })
158}
159
160// WithErrorStrategy defines how an observable should deal with error.
161// This strategy is propagated to the parent observable.

Calls 1

newFuncOptionFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…