Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Keep an Observable alive after onError #5

Closed
wxnet2013 opened this issue Nov 2, 2018 · 1 comment
Closed

Keep an Observable alive after onError #5

wxnet2013 opened this issue Nov 2, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@wxnet2013
Copy link
Member

wxnet2013 commented Nov 2, 2018

Keep an epic Observable alive after on errors:

import rxloop from '@rxloop/core';

const store = rxloop();

store.model({
  name: 'test',
  // ...
});

store.stream('test').subscribe((state) => {
  if (state.error) {
    console.log('error');
    return;
  }
  render(state);
});

It will be merged into rxloop core.

@wxnet2013 wxnet2013 added the enhancement New feature or request label Nov 2, 2018
@wxnet2013 wxnet2013 changed the title keep an Observable alive after onError Keep an Observable alive after onError Nov 2, 2018
@wxnet2013
Copy link
Member Author

#6

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant