You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexander Kalinin (JIRA)" <ji...@apache.org> on 2019/01/24 07:38:00 UTC
[jira] [Created] (IGNITE-11055) Implement operator for handling
switch cluster
Alexander Kalinin created IGNITE-11055:
------------------------------------------
Summary: Implement operator for handling switch cluster
Key: IGNITE-11055
URL: https://issues.apache.org/jira/browse/IGNITE-11055
Project: Ignite
Issue Type: Improvement
Reporter: Alexander Kalinin
Assignee: Alexander Kalinin
Currently we have a lot of repeated code like this
pipe(
pluck('cluster'),
distinctUntilChanged(),
switchMap((cluster) => { if (_.isNil(cluster)) return of(EMPTY); return obs
)
We need to encapsulate it into one operator to use it wherever possible to reduce number of repetion and improve readability.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)