| 25 | } |
| 26 | |
| 27 | type funcOption struct { |
| 28 | f func(*funcOption) |
| 29 | isBuffer bool |
| 30 | buffer int |
| 31 | ctx context.Context |
| 32 | observation ObservationStrategy |
| 33 | pool int |
| 34 | backPressureStrategy BackpressureStrategy |
| 35 | onErrorStrategy OnErrorStrategy |
| 36 | propagate bool |
| 37 | connectable bool |
| 38 | connectOperation bool |
| 39 | serialized func(interface{}) int |
| 40 | } |
| 41 | |
| 42 | func (fdo *funcOption) toPropagate() bool { |
| 43 | return fdo.propagate |
nothing calls this directly
no outgoing calls
no test coverage detected