Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
namespace CSharpFourScratch
{
internal class Program
{
@anaisbetts
anaisbetts / FilesystemWatchCache.cs
Created May 8, 2013 22:14
An Rx-friendly Filesystem Watcher
using System;
using System.IO;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
namespace SaveAllTheTime.Models
{
interface IFilesystemWatchCache
{
@odf
odf / flux-csp-dispatcher.es6
Last active August 29, 2015 14:05
Asynchronous Flux-like dispatcher with deadlock prevention via Go-style CSP
// Asynchronous Flux-like dispatcher with deadlock prevention via Go-style CSP.
//
// - my libraries ceci-core and ceci-channel are available from npm
// - pre-compile this file with regenerator
// - build with webpack or browserify
'use strict';
var ceci = require('ceci-core');
var chan = require('ceci-channels');