TS
handle():Flux.fromIterable(models)
.handle((model, sink) -> {
if (model.isDefault) {
sink.next(model);
} else {
List<Condition> conditions = getConditions(model);
boolean matched = false;
for (Condition cond : conditions) {
matched &= cond.check(model);
}
if (matched) {
sink.next(model);
}
}
});
