Skip to content

Instantly share code, notes, and snippets.

View pmbanka's full-sized avatar

Paweł Bańka pmbanka

View GitHub Profile
schema {
query: Query
mutation: Mutation
}
type Query {
session(id: ID!): Session
}
type Mutation {
@pmbanka
pmbanka / InteractionAPIExperiment.cs
Created January 20, 2016 08:41 — forked from kentcb/InteractionAPIExperiment.cs
Playing with Interaction APIs
public class InteractionSource
{
public static readonly InteractionSource Global = new InteractionSource();
private readonly IList<Func<NewInteraction, IObservable<Unit>>> handlers;
public InteractionSource()
{
this.handlers = new List<Func<NewInteraction, IObservable<Unit>>>();
}