Tests if something is Observer.
struct TestObserver { void put(int n) { } void completed() { } void failure(Exception e) { } } static assert(isObserver!(TestObserver, int));
See Implementation
Tests if something is Observer.