Skip to content

Instantly share code, notes, and snippets.

View mostalive's full-sized avatar

Willem van den Ende mostalive

View GitHub Profile
@staltz
staltz / introrx.md
Last active April 25, 2024 04:18
The introduction to Reactive Programming you've been missing
@gsoltis
gsoltis / rx.firebase.js
Last active March 2, 2017 21:30
Quick Firebase / RxJS binding prototype
(function () {
var makeCallback = function(eventType, observer) {
if (eventType === 'value') {
return function(snap) {
observer.onNext(snap);
};
} else {
return function(snap, prevName) {
// Wrap into an object, since we can only pass one argument through.
observer.onNext({snapshot: snap, prevName: prevName});