Observer

Wraps completed and failure method in virtual function.

interface Observer : OutputRange!E(
E
) {}

Members

Functions

completed
void completed()
failure
void failure(Exception e)

Examples

alias TObserver = Observer!byte;
static assert(isObserver!(TObserver, byte));

Meta