Example #1
0
 private VTextField(StreamLoop<String> sRemoteWrite, ValueOutput<String> outRemote, int width) {
   super(
       Stream.filterOptional(Operational.value(outRemote.value)),
       "",
       width,
       outRemote.value.map(oV -> oV.isPresent()));
   sRemoteWrite.loop(sUserChanges);
   this.cleanup = outRemote.cleanup;
 }
 public final Stream<A> then() {
   return Stream.filterOptional(Operational.value(oValue)).orElse(sDeliver).once();
 }