Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

117
Views
How to create a custom component which is an observable?

I have a situation where I need to make an popup inside a observable stream, and base on actions of that popup, my stream continue. something like this

switchMap(() => {
  if () { //not showing popup
     return of(something)
  }
  else {
     return openPopup();
  }
}),
// continue on stream

I imagine my openPopup would be something like this

openPopup(): Observable<boolean> {
  // something in here to trigger a custom component (I guess)
  // and then listen to its action here and return it
}

Can someone help to make an simple workaround?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!