Skip to content

Instantly share code, notes, and snippets.

View antonpus's full-sized avatar

Anton Pus antonpus

View GitHub Profile
@antonpus
antonpus / StateMachine
Created January 17, 2020 12:14 — forked from elandau/StateMachine
Rx based state machine
package com.netflix.experiments.rx;
import java.util.HashMap;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import rx.Observable;
import rx.Observable.OnSubscribe;