all

  1. template all(alias pred = "true")
  2. AllObservable!TObservable all(TObservable observable)
    AllObservable!TObservable
    all
    (
    TObservable
    )
    (
    auto ref TObservable observable
    )

Examples

import rx.subject : SubjectObject;

auto sub = new SubjectObject!int;

bool result = false;
sub.all().doSubscribe((bool res) { result = res; });

sub.put(0);
sub.completed();
assert(result);

Meta