python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Electron, RxJS —Observable IPC channels & context isolation
Here's a minimal reproducible example that shows that RxJS observables work fine with context isolation off:
main process:
app.whenReady().then(async () => {
const bwin = new BrowserWindow({
...
customcommander
Votes: 0
Answers: 2
How to use a declarative pattern on Observables that watch the network?
I have been trying to learn about the declarative pattern/approach in rxjs, which from my understanding it to not use .subscribe() directly in the typescript itself and use the async pipe instead.
I h...
Get Off My Lawn
Votes: 0
Answers: 1
Encapsulate rxjs pipe into function
I've been searching, but cannot find an answer to this.
Is there a way to encapsulate an rxjs pipe method into a custom method?
<observable>.pipe(
filter((num: number) => num % 2 === 0),
take...
Ulfius
Votes: 0
Answers: 3
Angular / RxJS service with http and replay
I need to create a SessionService which will contain information about user and should act as a singleton across all components.
I would use it like:
this.sessionService.user$.subscribe(_ => {
thi...
Luke1988
Votes: 0
Answers: 1