Questions tagged [subscribe]
994 questions
-2
votes
1 answer
passing data using delegate in window form c# (subscribe and unsubscribe)
I have to pass data using the collection for two objects ( email, mobile). If I click the button subscriber or unsubscribe, the values that I enter should be stored and showed to another form if I click publish button. However, I require to use…

moony
- 1
- 5
-2
votes
1 answer
React and Redux componentWillMount and componentDidMount. Vs subscribe to prevent memory leaks
I'm having a problem with an application that uses the Provider approach to update the state through the whole app. The browser's console throws a warning because a react component that is redirecting to another one using react-router-dom on a click…

user2662251
- 1
- 1
-2
votes
1 answer
Typescript: Get data outside of Observable
I tried to send an HttpRequest in Typescript. I need to store the recieved data outside of the subscribe function. But when I want to print the user variable outside of the subscribe, it is undefined.
In the subscribe function it works fine. So how…

Moritz
- 139
- 1
- 10
-2
votes
1 answer
Subscriber inside subscriber not working properly in ionic project
I am developing ionic app for android. I am making http request globally and based response I am processing that request to page. Example, If response not contains auth key in header I will send error message in globally declared service class.
here…

sachin
- 153
- 4
- 18
-2
votes
1 answer
Why is it saying subscribe undefined in the browser
updload(name,age,address)
{
debugger;
this.data=this.service.tryinsert(name,age,address);
this.data.subscribe(
(respose:any)=>{
console.log(respose);
}
)
}
import { Injectable } from '@angular/core';
import…

Vishwas C
- 1
- 3
-2
votes
2 answers
Angular 7: Why do I have to call my subscribe method twice for it to take affect
I think I am misunderstanding Subscriptions and Observables and I am not finding the Angular documentation particularly helpful.
I am creating a validationService meant to check if a username is available. The validationService is called on form…

Jack Lovett
- 1,061
- 9
- 12
-2
votes
2 answers
How to wait in Angular for two calls to finish
I have this function that I want to run. The problem is that it doesn't wait for the two calls to finish and instantiate rule1 and rule2 so I get error that rule1.optionhead is undefined. I have tried to have the code nested to each subscribe but…

Antifa
- 377
- 1
- 4
- 14
-2
votes
2 answers
HTTP Request Unsubscribe doesn't work
I'm fetching the data from json file in services and subscribing it from my component. I'm doing some condition check with the data, once it matches I want to stop subscribing but it's not working and still its subscribing.
Service
getUserData() {
…

Jagadeesh
- 734
- 6
- 26
-2
votes
1 answer
Hyperledger composer TypeError: Cannot create property 'wallet' on string 'resumedevelop'
I want to subscribe event.
so I make a event.js File
event.js
'use strict';
const BusinessNetworkConnection = require('composer-client').BusinessNetworkConnection;
const winston = require('winston');
var chalk = require('chalk');
let config =…

a bc
- 43
- 1
- 1
- 7
-2
votes
3 answers
angular 5 - how get subscribe component from service
I would like get data in service , but i don't know how do it.
This is my methode service calendar:
setWbsRdv(RDV: CalendarModel) {//enregistre le rendez-vous
this._http.post(this.wbsSaveDate, { RDV }).subscribe((data) => {
…

geek pédagogique lcms
- 101
- 2
- 9
-2
votes
1 answer
how to properly implement publish and subscribe in meteor js
I would like to know if my implementation of publish and subscribe are correct. Im new at meteor js please help me. If you need more information regarding to my code, i am willing to give you the other source code. I read the documentation about…

migmig
- 15
- 4
-2
votes
1 answer
Create Link "Subscribe"
I have magento commerce, and I am creating in html an automatic e-mail that is going to be sent when someone signs up (in Dreamweaver).
In the HTML code I have a button that is about subscribing in our newsletter. What is the code that I have to…

Fragkiskos Mysirlakis
- 91
- 2
- 9
-2
votes
1 answer
How to develop subscribe user module in php
I want to develop a subscribe user module in PHP in which the user will get all the notifications about the activity of the subscribed user.

Sourabh Banerjee
- 43
- 5
-3
votes
2 answers
Angular. TS2339: Property 'subscribe' does not exist on type 'void'
I am getting this error: TS2339: Property 'subscribe' does not exist on type 'void'.

mchedlo
- 29
- 2
-3
votes
1 answer
Can I add a youtube subscribe button to my flutter app?
I want to add a youtube subscribe button to my flutter app just like you do on web pages ( https://developers.google.com/youtube/youtube_subscribe_button ). Are there any methods for this?

Andi Bardhi
- 3
- 1