Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const addLifxNetworkClientEpic = (
action$,
) => (
action$
.pipe(
ofType(
tasks
.actions
.START_TASK
),
ofTaskName(
'serve',
'undefined',
),
mapTo(
lifxLanClient
.Client
),
map(LifxClient => (
new LifxClient()
)),
map(addLifxNetworkClient),
catchEpicError(),
)
)