Before, we would always concatenate the first `.call()` if the identifier started with a capital letter, but we do want to break if the content of the call doesn't fit in one line. Fixes #639
16 lines
418 B
JavaScript
16 lines
418 B
JavaScript
export default function theFunction(action$, store) {
|
|
return action$.ofType(THE_ACTION).switchMap(action => Observable
|
|
.webSocket({
|
|
url: THE_URL,
|
|
more: stuff(),
|
|
evenMore: stuff({
|
|
value1: true,
|
|
value2: false,
|
|
value3: false
|
|
})
|
|
})
|
|
.filter(data => theFilter(data))
|
|
.map(({ theType, ...data }) => theMap(theType, data))
|
|
.retryWhen(errors => errors));
|
|
}
|