Answer the question
In order to leave comments, you need to log in
What does this entry mean in TypeScript?
public subscribe(channel: string, handler: (value: any) => void) {
return this.data.subscribe(handler);
}
Answer the question
In order to leave comments, you need to log in
Does this mean that the second argument is a function with a value parameter?
And that it is returned as a result from the function?
What will the subscribe function return?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question