Questions tagged [unsubscribe]
215 questions
0
votes
0 answers
How to unsuscribe if not use ngOnDestroy Angular 4
Scenario:
I developed a service that validates signatures (OtpSMS and Position). This service has two main functions:
--> validateSignPosition() : Observable
--> validateSignOtpSMS() : Observable
Two functions mentioned are asynchronous because…

JoseJimRin
- 372
- 1
- 4
- 20
0
votes
1 answer
Unsubscribe in rxjs
I'm new to rxjs.
what is the problem with this code that subscribe method not work correctly.
this.http.postReq(this.api, data)
.subscribe((value) => {
this.toastr.success(value, "Successfull");
this.isLoading = false;
}, (err) => {
…

ihsan
- 59
- 9
0
votes
1 answer
How to ignore/handle responses from pending Angular HTTP requests after unsubscribing?
I am using Angular 5 HttpClient to send requests to a server and store the responses in a Datastore Service.
In our scenario, different APIs can be used, that respond with the same kind of data. When the user chooses to load data from another…

Aurelien Giraud
- 128
- 2
- 12
0
votes
1 answer
What happened with subscription if subject was destroyed in angular 2+?
UPDATE more details about observable usage
I've need service because checkboxcell component can't use @Output() property.
This happened becaues of wrong usage with ag-grid api - renderer component was used as editor. It can't be corrected at this…

Nikita
- 1,019
- 2
- 15
- 39
0
votes
1 answer
OnNext not being called on observable when using combineLatest and take
I'm trying to get a subscription to automatically unsubscribe when it emits an item. The base observable is created like this.
public static Observable setupConnection(RxBleDevice device, PublishSubject disconnectTrigger) {
…

David Carek
- 1,103
- 1
- 12
- 26
0
votes
2 answers
Angular2/4 unsubscribe observable in a component which never be destroyed
I am new to Angular4. so sorry for the basic question and my poor English. I will try my best to describe my problem.
I am now developing a websites using observable services to share message.
But I got a problem,
here is my example file…

Ryan
- 37
- 1
- 6
0
votes
1 answer
Litmus automatic unsubscribe
[Posting this in case someone else experience this issue]
We are using Salesforce Marketing Cloud for our marketing campaign and Litmus as our email clients simulating tool.
For testing purpose, we added a litmustest email into one of the Data…

Alvida
- 145
- 1
- 1
- 9
0
votes
2 answers
Kentico 8.2 Newsletter Link and unsubscribe link
I have created a contact form under Forms with first name, last name, and email that is designed to sign up people for a newsletter. I then created a page so when people click on the link placed on the home page it takes them to a page with the…

jacqueshock
- 3
- 3
0
votes
1 answer
Cancel incoming data from Observable
I have Angular input where every time its value changes I ask service to get some data about entered value. I only care about last entered input, so when user enters '1', but then erases it and enters '2' I don't care about data about previous…

Jarosław Rewers
- 1,059
- 3
- 14
- 23
0
votes
1 answer
Best way to unsubscribe a customer from Paypal
I have website with a subscription. What is the easiest or most common way to unsubscribe a customer. I use Php. The Paypal documentation I have seen indicates you go in manually and do it but there has to be an easier way?
Any help would be…

Will
- 21
0
votes
1 answer
"Unsubscribe" link in email
I have a website where I send out surveys to people who want to take these surveys. They gave me their email address, so they do want to take the survey.
The problem is, our server had malicious code injected into a contact form and that resulted in…

jaypat32
- 91
- 1
- 1
- 10
0
votes
1 answer
mailchimp unsubscribe with node js server
i have a problem with mailchimp unsubscribe process.
Please can you provide me the way for unsubscribe process. How exactly put in unsubscribe list and what files i should request. And how i know the differences that the email should be put in…

Edward Gizbreht
- 296
- 4
- 19
0
votes
1 answer
Mailto that autopopulates the To: field with original sender
I'd like to know if the following is actually possible:
A mailto link that does not contain an email address, but somehow auto populates the TO: field with the email of the original sender.
For example:
"a…

Jarad Ducroq
- 113
- 6
0
votes
1 answer
ActionCable: unsubscribed - Reliable?
We are building an api where we do need to be able to see if a user is online or not. By using subscribed / unsubscribed we could achieve this pretty easy.
But if connection is lost or severed in some way that does mean that either the client or…

Philip
- 6,827
- 13
- 75
- 104
0
votes
1 answer
RxJs: is it good practice to unsubscribe from Observables when navigating away?
I am just getting into RxJs and Observables in general. I grasped the idea that often you can create "self-contained" Observable by utilizing "takeUntil()".
In one online-course I am watching the teacher says "I did not unsubscribe from anything in…

Wolfgang
- 2,188
- 1
- 25
- 24