An open API service indexing awesome lists of open source software.

https://github.com/saber2pr/observer


https://github.com/saber2pr/observer

cpp observer

Last synced: 27 days ago
JSON representation

Awesome Lists containing this project

README

        

# Observer
> Observer

```cpp
unsubscribe subscribe(Listener listener){
this->_Listeners.push_back(listener);
int index = this->_Listeners.size() - 1;
return [=](){
this->_Listeners[index] = [](S){};
};
}
```