You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a common practice to return an observable<T> to for a method to represent values of T in async fashion.
class Person {
observable<std::string> Talk();
}
While rpp does provide an observable class, but it has too many class template arguments which I can find very few explainations in docs. Before reading your whole project code, would you please enlighten me about a simple way to define actual class type other than auto.
The text was updated successfully, but these errors were encountered:
RobinQu
changed the title
How to refer to observale type anyway?
How to refer to observable type anyway?
Feb 21, 2024
Yeah, you are right, currently it is not clear from documentation. Made #534 to explicitly explain it in document. hope it is clear enough. Feel free to ask any other questions =)
It's a common practice to return an
observable<T>
to for a method to represent values ofT
in async fashion.While
rpp
does provide anobservable
class, but it has too many class template arguments which I can find very few explainations in docs. Before reading your whole project code, would you please enlighten me about a simple way to define actual class type other thanauto
.The text was updated successfully, but these errors were encountered: