NopObserver

final
class NopObserver : Observer!E(
E
) {}

Members

Static functions

instance
Observer!E instance()

Examples

Observer!int o1 = NopObserver!int.instance;
Observer!int o2 = NopObserver!int.instance;
assert(o1 !is null);
assert(o1 is o2);