Questions tagged [unsubscribe]
215 questions
0
votes
1 answer
Angular Observable chaining : How to Unsubscribe this explicitly
I have a chain of Array of Observables :
for ( i=0;i<10;i++)
{
observableA$[i] = /*...*/;
observableB$[i] = observableA$[i].pipe(
// ...
);
observableC$[i] = observableB$[i].pipe(
// ...
);
observableD$[i] = observableB$[i].pipe(
//…
user11899717
0
votes
1 answer
How to unsubcribe a timer service call using takeUntil
I am calling a service regularly after a certain interval of time. I get two numbers as result in the service response,I want to compare those numbers and if they are equal I want to end the service calls. How am i supposed to use the takeUntil()…

laZZySpiDer
- 27
- 8
0
votes
0 answers
How to create a button which will generate email
I'm in the process of learning html and css. As a practical part of this process, I manually rewrite a mailing list using "all the rules of beautiful code".
How can I add a hyperlink to a word that will send an automatic e-mail to a specific…

proteus
- 1
0
votes
1 answer
RxJava unsubscribeOn with recursive call not in the right thread
I've built an headless webview in an Android application for scrape an URL from a webpage. Every time I retrieve an URL I may need to redoing the scraping in the webpage with this URL. I'm using RxJava to handle these operations concurrently, and…

materight
- 527
- 8
- 22
0
votes
0 answers
Will Redis Pub/Sub keep or persist past data when client is unsubscribed from topic?
I have a Django project with Tornado websocket opened and is subscribed to a topic in my Redis Pub/Sub. I am using asyncio and aioredis. Before page refresh, browser close or navigation out of that page, I will call for the websocket to close, which…

Chong Eva
- 1
- 2
0
votes
1 answer
How do I unsubscribe from inner observables in redux observable?
In the following epic I am listening to an action$ stream and then also listening to an auth stream authState(app.auth())
export const fetchAuthStatus = action$ =>
action$.pipe(
ofType(AUTH_STATUS_CHECKED),
switchMap(() =>…

Josh Pittman
- 7,024
- 7
- 38
- 66
0
votes
1 answer
rxjs subscription's destroyed or not when it's been rewritten?
I need some help with an rxjs subscription, can you help me understand this little thing called "rewrite" subscription?
For instance, I have a calendar slider.
On the lifecycle hook OnInit I'm getting the default value like this:
let today = new…

Den Kerny
- 562
- 10
- 18
0
votes
0 answers
C# how to unsubscribe all event handlers of a control (RadioButton)
I have a GUI that contains 10 radio buttons and a textbox, into which the user has to make his input. The RadioButton.CheckedChanged event gets subscribed on runtime depending on the user input (textbox). So, in my case there over 50 possible…

Rafael
- 13
- 3
0
votes
0 answers
Unsubscribe link for WordPress subscriber
My website having email subscription for subscribers. and it is done without any plugin.
I am able to add subscribers but now I want to give unsubscribe link in end of email.
Also it should be without subscriber's login.
Code of create…

Dhaval Panchal
- 648
- 6
- 26
0
votes
0 answers
Observable implicitly unsubscribe in Angular 5
I'm working with observables, and my observable unsubscribed implicitly. But I don't want to unsubscribe at all.
I've created a gallery, where i display images using but there are other tabs as well. As you see in the image.
When I switch to some…

Zeeshan Malik
- 627
- 1
- 14
- 31
0
votes
1 answer
angular unsubscribe does not work without ngOnDestroy
Unable to unsubscribe on a subscription if used in a public method and not ngOnDestroy.
If have rxjs observable interval that is used to poll an API.
onNgInit I subscribe to that observable as follows:
Class .. {
pollingSubscription:…

patz
- 1,306
- 4
- 25
- 42
0
votes
1 answer
Behavior Subject unsubscribe refactor
This can't be the only way to unsub Behavior Subjects :
maxSub;
fromSub;
toSub;
pageNumberSub;
originalMaxSub;
selectionSub;
selectionOfInterestSub;
constructor(private store: StoreService) {}
ngAfterContentChecked(){
…

tatsu
- 2,316
- 7
- 43
- 87
0
votes
2 answers
Encrypt and decrypt in Django
I am working on implementing 'Unsubscribe link' on my emails. I am maintaining a table for unsubscribed users.
I want to know the email address once the user clicks on the unsubscribe link. Of course, I cannot send it as a get parameter as one could…

Shahrukh Mohammad
- 985
- 2
- 17
- 33
0
votes
2 answers
how to unsubscribe for an observable
I have an angular application where I am reading a file and processing it and this processing is part of observable.
I have a service which returns the observable an (ngbusy:subscription).
I am subscribing to this observable in my component. The…

user1015388
- 1,283
- 4
- 25
- 45
0
votes
1 answer
ForkJoin observable does not unsubscribe when ngOnDestroy
So my application has a popup window, it has a forkjoin observable that may take a long time to run if the user selects many items. If the user closes the window during the process the application will be in a stand still until the forkjoin is done…

David Cyr
- 243
- 1
- 6
- 15