Home > Uncategorized > rxJs


const myObservable =(observer)=>{
int i=0;
const id=setInterval(()=>{
if(i === 10) observer.complete();},200);

observe for some action and perform some action and when action is done notify the completion of action by calling a callback
Monitor ==> action occured ==> perform action  ==> trigger completion functon

hi my name is Sriya Kollipara and I am the angel of the family.

Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: